summaryrefslogtreecommitdiffstats
path: root/apps/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-10 16:08:08 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-10 16:08:08 +0000
commita6949bc89b794e92ed486350819cd38c62d316ab (patch)
tree020cc282cd887dca93dbf617d54816a3669caf13 /apps/Makefile
parent4746fbe9080bf1c176d65eeefffef70447f6a4c8 (diff)
Changes for clean build of app/ directory with Windows toolchain
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3488 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 43778e76d6..3a6f6204f8 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