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