diff options
Diffstat (limited to 'apps/examples/helloxx')
-rwxr-xr-x | apps/examples/helloxx/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile index 3d930191c..3d4545728 100755 --- a/apps/examples/helloxx/Makefile +++ b/apps/examples/helloxx/Makefile @@ -59,7 +59,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built -.PHONY: .built clean depend disclean chkcxx +.PHONY: clean depend disclean chkcxx chkcxx: ifneq ($(CONFIG_HAVE_CXX),y) @@ -82,14 +82,12 @@ $(COBJS): %$(OBJEXT): %.c $(CXXOBJS): %$(OBJEXT): %.cxx $(call COMPILEXX, $<, $@) -$(BIN): chkcxx $(OBJS) +.built: chkcxx $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built -.built: $(BIN) - context: .depend: Makefile $(SRCS) |