summaryrefslogtreecommitdiff
path: root/apps/examples/udp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/udp/Makefile')
-rw-r--r--apps/examples/udp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile
index 7d0426026..91e34ba73 100644
--- a/apps/examples/udp/Makefile
+++ b/apps/examples/udp/Makefile
@@ -107,7 +107,7 @@ all: .built
$(TARG_AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(TARG_COBJS): %$(OBJEXT): %.c
+$(TARG_COBJS) $(TARG_MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
$(TARG_BIN): $(TARG_OBJS) $(HOST_BIN)