summaryrefslogtreecommitdiff
path: root/apps/examples/elf
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/elf')
-rw-r--r--apps/examples/elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile
index 08fc74f06..c813e1eb1 100644
--- a/apps/examples/elf/Makefile
+++ b/apps/examples/elf/Makefile
@@ -85,7 +85,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
# This is a little messy. The build is broken into two pieces: (1) the