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