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