summaryrefslogtreecommitdiff
path: root/apps/examples
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
parent37701ac70a3047f8f161628e6f59dfacc185233f (diff)
downloadnuttx-bd032945c6126523c1f4ea6eb8d6f74f8b5d9274.tar.gz
nuttx-bd032945c6126523c1f4ea6eb8d6f74f8b5d9274.tar.bz2
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')
-rw-r--r--apps/examples/dhcpd/Makefile8
-rw-r--r--apps/examples/hello/Makefile8
-rwxr-xr-xapps/examples/helloxx/Makefile8
-rw-r--r--apps/examples/hidkbd/Makefile8
-rwxr-xr-xapps/examples/igmp/Makefile8
-rw-r--r--apps/examples/mm/Makefile8
-rw-r--r--apps/examples/mount/Makefile8
-rw-r--r--apps/examples/nsh/Makefile8
-rw-r--r--apps/examples/null/Makefile8
-rw-r--r--apps/examples/nx/Makefile8
-rw-r--r--apps/examples/nxflat/Makefile8
-rw-r--r--apps/examples/ostest/Makefile8
-rw-r--r--apps/examples/pashello/Makefile8
-rw-r--r--apps/examples/pipe/Makefile8
-rw-r--r--apps/examples/poll/Makefile8
-rw-r--r--apps/examples/romfs/Makefile8
-rw-r--r--apps/examples/sendmail/Makefile8
-rw-r--r--apps/examples/serloop/Makefile8
-rw-r--r--apps/examples/thttpd/Makefile8
-rw-r--r--apps/examples/uip/Makefile8
-rw-r--r--apps/examples/usbserial/Makefile8
-rw-r--r--apps/examples/usbstorage/Makefile8
-rw-r--r--apps/examples/wget/Makefile8
-rwxr-xr-xapps/examples/wlan/Makefile8
24 files changed, 72 insertions, 120 deletions
diff --git a/apps/examples/dhcpd/Makefile b/apps/examples/dhcpd/Makefile
index ba9a62c61..32b5c4ee5 100644
--- a/apps/examples/dhcpd/Makefile
+++ b/apps/examples/dhcpd/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/hello/Makefile b/apps/examples/hello/Makefile
index 8644cbbbc..9b42c2f92 100644
--- a/apps/examples/hello/Makefile
+++ b/apps/examples/hello/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile
index 3d930191c..3d4545728 100755
--- a/apps/examples/helloxx/Makefile
+++ b/apps/examples/helloxx/Makefile
@@ -59,7 +59,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean chkcxx
+.PHONY: clean depend disclean chkcxx
chkcxx:
ifneq ($(CONFIG_HAVE_CXX),y)
@@ -82,14 +82,12 @@ $(COBJS): %$(OBJEXT): %.c
$(CXXOBJS): %$(OBJEXT): %.cxx
$(call COMPILEXX, $<, $@)
-$(BIN): chkcxx $(OBJS)
+.built: chkcxx $(OBJS)
@( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $@, $${obj}); \
+ $(call ARCHIVE, $(BIN), $${obj}); \
done ; )
@touch .built
-.built: $(BIN)
-
context:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/hidkbd/Makefile b/apps/examples/hidkbd/Makefile
index f83a4ded0..bb6c8083e 100644
--- a/apps/examples/hidkbd/Makefile
+++ b/apps/examples/hidkbd/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/igmp/Makefile b/apps/examples/igmp/Makefile
index 744cd875d..1f31bc006 100755
--- a/apps/examples/igmp/Makefile
+++ b/apps/examples/igmp/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/mm/Makefile b/apps/examples/mm/Makefile
index eff33ffe7..e6d6b14b6 100644
--- a/apps/examples/mm/Makefile
+++ b/apps/examples/mm/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/mount/Makefile b/apps/examples/mount/Makefile
index 200fcc99d..c9e62a71d 100644
--- a/apps/examples/mount/Makefile
+++ b/apps/examples/mount/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/nsh/Makefile b/apps/examples/nsh/Makefile
index 56695431a..1ec734e82 100644
--- a/apps/examples/nsh/Makefile
+++ b/apps/examples/nsh/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/null/Makefile b/apps/examples/null/Makefile
index 8bcd8f1b8..eede852dd 100644
--- a/apps/examples/null/Makefile
+++ b/apps/examples/null/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/nx/Makefile b/apps/examples/nx/Makefile
index 6b13c3402..bdde6bd29 100644
--- a/apps/examples/nx/Makefile
+++ b/apps/examples/nx/Makefile
@@ -60,7 +60,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -68,14 +68,12 @@ $(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:
.depend: Makefile $(SRCS)
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
diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile
index 5a7e6246c..361d7eea4 100644
--- a/apps/examples/ostest/Makefile
+++ b/apps/examples/ostest/Makefile
@@ -97,7 +97,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -105,14 +105,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile
index a46231080..7a08eec7f 100644
--- a/apps/examples/pashello/Makefile
+++ b/apps/examples/pashello/Makefile
@@ -64,7 +64,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -72,14 +72,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/pipe/Makefile b/apps/examples/pipe/Makefile
index f5e73f758..8412babf3 100644
--- a/apps/examples/pipe/Makefile
+++ b/apps/examples/pipe/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/poll/Makefile b/apps/examples/poll/Makefile
index 5e2a4cf6a..0dc3d9393 100644
--- a/apps/examples/poll/Makefile
+++ b/apps/examples/poll/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/romfs/Makefile b/apps/examples/romfs/Makefile
index 354e7987f..f5f90e3b2 100644
--- a/apps/examples/romfs/Makefile
+++ b/apps/examples/romfs/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: checkgenromfs .built clean depend disclean
+.PHONY: checkgenromfs clean depend disclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -81,14 +81,12 @@ testdir.img : checkgenromfs testdir
romfs_testdir.h : testdir.img
@xxd -i $< >$@ || { echo "xxd of $< failed" ; exit 1 ; }
-$(BIN): romfs_testdir.h $(OBJS)
+.built: romfs_testdir.h $(OBJS)
@( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $@, $${obj}); \
+ $(call ARCHIVE, $(BIN), $${obj}); \
done ; )
@touch .built
-.built: $(BIN)
-
context:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/sendmail/Makefile b/apps/examples/sendmail/Makefile
index 94208b8fc..6ee90208a 100644
--- a/apps/examples/sendmail/Makefile
+++ b/apps/examples/sendmail/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/serloop/Makefile b/apps/examples/serloop/Makefile
index 487a86242..0caefbef1 100644
--- a/apps/examples/serloop/Makefile
+++ b/apps/examples/serloop/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/thttpd/Makefile b/apps/examples/thttpd/Makefile
index 4d5fb964e..4d39d7d17 100644
--- a/apps/examples/thttpd/Makefile
+++ b/apps/examples/thttpd/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built headers clean depend disclean
+.PHONY: headers clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -68,14 +68,12 @@ $(COBJS): %$(OBJEXT): %.c
headers:
@$(MAKE) -C content TOPDIR=$(TOPDIR) APPDIR=$(APPDIR) CROSSDEV=$(CROSSDEV)
-$(BIN): headers $(OBJS)
+.built: headers $(OBJS)
@( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $@, $${obj}); \
+ $(call ARCHIVE, $(BIN), $${obj}); \
done ; )
@touch .built
-.built: $(BIN)
-
context:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/uip/Makefile b/apps/examples/uip/Makefile
index f7e82f6b1..a712fa70c 100644
--- a/apps/examples/uip/Makefile
+++ b/apps/examples/uip/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/usbserial/Makefile b/apps/examples/usbserial/Makefile
index a0b530122..cd6e7599a 100644
--- a/apps/examples/usbserial/Makefile
+++ b/apps/examples/usbserial/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/usbstorage/Makefile b/apps/examples/usbstorage/Makefile
index c57e96acd..4b6f36889 100644
--- a/apps/examples/usbstorage/Makefile
+++ b/apps/examples/usbstorage/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile
index 09e06c735..018b54ceb 100644
--- a/apps/examples/wget/Makefile
+++ b/apps/examples/wget/Makefile
@@ -57,7 +57,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -65,14 +65,12 @@ $(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:
.depend: Makefile $(SRCS)
diff --git a/apps/examples/wlan/Makefile b/apps/examples/wlan/Makefile
index 5097e4186..9b161ae66 100755
--- a/apps/examples/wlan/Makefile
+++ b/apps/examples/wlan/Makefile
@@ -58,7 +58,7 @@ ROOTDEPPATH = --dep-path .
VPATH =
all: .built
-.PHONY: .built clean depend disclean
+.PHONY: clean depend distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -66,14 +66,12 @@ $(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:
.depend: Makefile $(SRCS)