summaryrefslogtreecommitdiff
path: root/apps/examples/thttpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/thttpd/Makefile')
-rw-r--r--apps/examples/thttpd/Makefile8
1 files changed, 3 insertions, 5 deletions
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)