summaryrefslogtreecommitdiff
path: root/apps/examples/json/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/json/Makefile')
-rw-r--r--apps/examples/json/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/json/Makefile b/apps/examples/json/Makefile
index aaea3f05d..3a19041c7 100644
--- a/apps/examples/json/Makefile
+++ b/apps/examples/json/Makefile
@@ -89,7 +89,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)