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 cec032ac3..62427c77d 100755
--- a/apps/examples/mtdpart/Makefile
+++ b/apps/examples/mtdpart/Makefile
@@ -45,7 +45,7 @@ CSRCS = mtdpart_main.c
AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))
-SRCS = $(ASRCS) $(CSRCS)
+SRCS = $(ASRCS) $(CSRCS) $(MAINSRC)
OBJS = $(AOBJS) $(COBJS)
ifeq ($(CONFIG_WINDOWS_NATIVE),y)