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