From cd19f6d867bbe3da36b30f9897aeb3b65e0eee08 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 10 Apr 2011 16:08:08 +0000 Subject: Changes for clean build of app/ directory with Windows toolchain git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3488 42af7a65-404d-4744-a932-0658087f49c3 --- apps/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/Makefile') diff --git a/apps/Makefile b/apps/Makefile index 43778e76d..3a6f6204f 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -76,7 +76,7 @@ all: $(BIN) .PHONY: $(BUILTIN_APPS_DIR) context depend clean distclean $(BUILTIN_APPS_DIR): - @$(MAKE) -C $@ TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); + @$(MAKE) -C $@ TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"; $(BIN): $(BUILTIN_APPS_DIR) @( for obj in $(OBJS) ; do \ @@ -86,7 +86,7 @@ $(BIN): $(BUILTIN_APPS_DIR) .context: @for dir in $(BUILTIN_APPS_DIR) ; do \ rm -f $$dir/.context ; \ - $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR) context ; \ + $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" context ; \ done @touch $@ @@ -95,7 +95,7 @@ context: .context .depend: context Makefile $(SRCS) @for dir in $(BUILTIN_APPS_DIR) ; do \ rm -f $$dir/.depend ; \ - $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR) depend ; \ + $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" depend ; \ done @touch $@ @@ -103,14 +103,14 @@ depend: .depend clean: @for dir in $(SUBDIRS) ; do \ - $(MAKE) -C $$dir clean TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \ + $(MAKE) -C $$dir clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"; \ done @rm -f $(BIN) *~ .*.swp *.o $(call CLEAN) distclean: clean @for dir in $(SUBDIRS) ; do \ - $(MAKE) -C $$dir distclean TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \ + $(MAKE) -C $$dir distclean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"; \ done @rm -f .config .context .depend -- cgit v1.2.3