From 1e10d8d0d3733432f69d86948645896295864d42 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 24 Mar 2011 00:28:50 +0000 Subject: apps/ initialization now occurs during the earlier context build phase git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3412 42af7a65-404d-4744-a932-0658087f49c3 --- apps/nuttapp/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'apps/nuttapp/Makefile') diff --git a/apps/nuttapp/Makefile b/apps/nuttapp/Makefile index 092236027..9cdb4ff5d 100644 --- a/apps/nuttapp/Makefile +++ b/apps/nuttapp/Makefile @@ -58,7 +58,7 @@ VPATH = # Build Targets all: .built -.PHONY: depend .depend clean distclean +.PHONY: .context context .depend depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -74,9 +74,14 @@ $(BIN): $(OBJS) .built: $(BIN) +.context: + @echo "/* List of application requirements, generated during make context. */" > exec_nuttapp_list.h + @echo "/* List of application entry points, generated during make context. */" > exec_nuttapp_proto.h + @touch $@ + +context: .context + .depend: Makefile $(SRCS) - @echo "/* List of application requirements, generated during make depend. */" > exec_nuttapp_list.h - @echo "/* List of application entry points, generated during make depend. */" > exec_nuttapp_proto.h @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @touch $@ @@ -87,7 +92,7 @@ clean: $(call CLEAN) distclean: clean - @rm -f Make.dep .depend + @rm -f .context Make.dep .depend @rm -f exec_nuttapp_list.h @rm -f exec_nuttapp_proto.h -- cgit v1.2.3