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