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