summaryrefslogtreecommitdiff
path: root/apps/examples/nxflat
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxflat')
-rw-r--r--apps/examples/nxflat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nxflat/Makefile b/apps/examples/nxflat/Makefile
index fd7dbdb31..a5087ed58 100644
--- a/apps/examples/nxflat/Makefile
+++ b/apps/examples/nxflat/Makefile
@@ -94,7 +94,7 @@ headers:
@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)