summaryrefslogtreecommitdiff
path: root/apps/examples/mtdpart/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/mtdpart/Makefile')
-rwxr-xr-xapps/examples/mtdpart/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/mtdpart/Makefile b/apps/examples/mtdpart/Makefile
index 769e6b891..8b418327c 100755
--- a/apps/examples/mtdpart/Makefile
+++ b/apps/examples/mtdpart/Makefile
@@ -85,7 +85,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)