summaryrefslogtreecommitdiff
path: root/apps/examples/nxflat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxflat/Makefile')
-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