diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-10 16:08:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-10 16:08:08 +0000 |
commit | cd19f6d867bbe3da36b30f9897aeb3b65e0eee08 (patch) | |
tree | 020cc282cd887dca93dbf617d54816a3669caf13 /apps/Makefile | |
parent | dbbf70ac72fd2770a5999f116a29d780eae5ce3c (diff) | |
download | nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.tar.gz nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.tar.bz2 nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.zip |
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
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
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 |