diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-24 00:28:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-24 00:28:50 +0000 |
commit | 1e10d8d0d3733432f69d86948645896295864d42 (patch) | |
tree | a678b793c7a420cedb58e9f99ca4b39fea502fd6 /apps/nuttapp/Makefile | |
parent | fe55a3d3121630eda2b910bac6b051a38e3b5f60 (diff) | |
download | nuttx-1e10d8d0d3733432f69d86948645896295864d42.tar.gz nuttx-1e10d8d0d3733432f69d86948645896295864d42.tar.bz2 nuttx-1e10d8d0d3733432f69d86948645896295864d42.zip |
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
Diffstat (limited to 'apps/nuttapp/Makefile')
-rw-r--r-- | apps/nuttapp/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
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 |