From bd032945c6126523c1f4ea6eb8d6f74f8b5d9274 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 1 Apr 2011 15:18:02 +0000 Subject: Update apps/ Makefiles to fix environmental bug git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3450 42af7a65-404d-4744-a932-0658087f49c3 --- apps/namedapp/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'apps/namedapp') diff --git a/apps/namedapp/Makefile b/apps/namedapp/Makefile index 6b3610e18..50dedfc39 100644 --- a/apps/namedapp/Makefile +++ b/apps/namedapp/Makefile @@ -62,7 +62,7 @@ VPATH = # Build Targets all: .built -.PHONY: .context context .depend depend clean distclean +.PHONY: .context context depend clean distclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -70,13 +70,11 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +.built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built - -.built: $(BIN) .context: @echo "/* List of application requirements, generated during make context. */" > namedapp_list.h -- cgit v1.2.3