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