summaryrefslogtreecommitdiff
path: root/apps/examples/nxflat
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-01 15:18:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-01 15:18:02 +0000
commitbd032945c6126523c1f4ea6eb8d6f74f8b5d9274 (patch)
tree94c370a496bb4ff8f97cb81c1fe19f81e22f9875 /apps/examples/nxflat
parent37701ac70a3047f8f161628e6f59dfacc185233f (diff)
downloadpx4-nuttx-bd032945c6126523c1f4ea6eb8d6f74f8b5d9274.tar.gz
px4-nuttx-bd032945c6126523c1f4ea6eb8d6f74f8b5d9274.tar.bz2
px4-nuttx-bd032945c6126523c1f4ea6eb8d6f74f8b5d9274.zip
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
Diffstat (limited to 'apps/examples/nxflat')
-rw-r--r--apps/examples/nxflat/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/examples/nxflat/Makefile b/apps/examples/nxflat/Makefile
index d8573735e..c2fb246bc 100644
--- a/apps/examples/nxflat/Makefile
+++ b/apps/examples/nxflat/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: headers .built clean depend disclean
+.PHONY: headers clean depend disclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -68,14 +68,12 @@ $(COBJS): %$(OBJEXT): %.c
headers:
@$(MAKE) -C tests TOPDIR=$(TOPDIR) APPDIR=$(APPDIR) CROSSDEV=$(CROSSDEV)
-$(BIN): $(OBJS)
+.built: $(OBJS)
@( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $@, $${obj}); \
+ $(call ARCHIVE, $(BIN), $${obj}); \
done ; )
@touch .built
-.built: $(BIN)
-
context:
# We can't make dependencies in this directory because the required