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