diff options
Diffstat (limited to 'apps/examples/nx')
-rw-r--r-- | apps/examples/nx/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
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) |