summaryrefslogtreecommitdiff
path: root/apps/examples/posix_spawn
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/posix_spawn')
-rw-r--r--apps/examples/posix_spawn/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/posix_spawn/Makefile b/apps/examples/posix_spawn/Makefile
index 43d75885b..2227e0958 100644
--- a/apps/examples/posix_spawn/Makefile
+++ b/apps/examples/posix_spawn/Makefile
@@ -85,7 +85,7 @@ all: build
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
# This is a little messy. The build is broken into two pieces: (1) the