summaryrefslogtreecommitdiff
path: root/apps/examples/posix_spawn/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-11 19:08:51 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-11 19:08:51 +0000
commit049b66a75a6f7795b5e80ce70122479f2ef31586 (patch)
tree2af089980e448cc2cf6ae01d884acb23f26f6d88 /apps/examples/posix_spawn/Makefile
parent7272d1e7473fc1ce1d0a29c7287260402ca2420e (diff)
downloadnuttx-049b66a75a6f7795b5e80ce70122479f2ef31586.tar.gz
nuttx-049b66a75a6f7795b5e80ce70122479f2ef31586.tar.bz2
nuttx-049b66a75a6f7795b5e80ce70122479f2ef31586.zip
Fix an error handling bug in the fread logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5511 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/posix_spawn/Makefile')
-rw-r--r--apps/examples/posix_spawn/Makefile27
1 files changed, 23 insertions, 4 deletions
diff --git a/apps/examples/posix_spawn/Makefile b/apps/examples/posix_spawn/Makefile
index bda3376d2..0bfa36e55 100644
--- a/apps/examples/posix_spawn/Makefile
+++ b/apps/examples/posix_spawn/Makefile
@@ -105,7 +105,26 @@ distclean: clean
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-# There are no dependencies in this directory. We should are code some of
-# more important dependencies here:
-
--include Make.dep
+# There are no dependencies in this directory. Some of more important
+# and more obvious dependencies are hard-coded here:
+
+spawn_main.o: spawn_main.c \
+ $(TOPDIR)/include/nuttx/config.h \
+ $(TOPDIR)/include/nuttx/compiler.h \
+ $(TOPDIR)/include/sys/mount.h \
+ $(TOPDIR)/include/stdio.h \
+ $(TOPDIR)/include/stdlib.h \
+ $(TOPDIR)/include/unistd.h \
+ $(TOPDIR)/include/string.h \
+ $(TOPDIR)/include/fcntl.h \
+ $(TOPDIR)/include/spawn.h \
+ $(TOPDIR)/include/debug.h \
+ $(TOPDIR)/include/errno.h \
+ $(TOPDIR)/include/nuttx/ramdisk.h \
+ $(TOPDIR)/include/nuttx/binfmt/elf.h \
+ $(TOPDIR)/include/nuttx/binfmt/symtab.h \
+ filesystem/romfs.h
+
+symtab.o: filesystem/symtab.c \
+ $(TOPDIR)/include/nuttx/compiler.h \
+ $(TOPDIR)/include/nuttx/binfmt/symtab.h