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