summaryrefslogtreecommitdiff
path: root/apps/examples/helloxx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/helloxx/Makefile')
-rw-r--r--apps/examples/helloxx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile
index 6a5da5416..285dd1d88 100644
--- a/apps/examples/helloxx/Makefile
+++ b/apps/examples/helloxx/Makefile
@@ -99,10 +99,10 @@ endif
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
+$(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
-$(CXXOBJS): %$(OBJEXT): %.cxx
+$(CXXOBJS) $(MAINOBJ): %$(OBJEXT): %.cxx
$(call COMPILEXX, $<, $@)
.built: chkcxx $(OBJS)