summaryrefslogtreecommitdiff
path: root/apps/examples/nxffs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxffs')
-rw-r--r--apps/examples/nxffs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nxffs/Makefile b/apps/examples/nxffs/Makefile
index fd26a020c..5cd498296 100644
--- a/apps/examples/nxffs/Makefile
+++ b/apps/examples/nxffs/Makefile
@@ -91,7 +91,7 @@ $(COBJS): %$(OBJEXT): %.c
@touch .built
ifeq ($(CONFIG_BUILD_KERNEL),y)
-$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS)
+$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ)
@echo "LD: $(PROGNAME)"
$(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(LDLIBS)