summaryrefslogtreecommitdiff
path: root/apps/examples/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-16 15:52:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-16 15:52:15 +0000
commitab14fe398b2693da319e4bd47ed1adda704e8175 (patch)
treee6ebbb945196964ccda40619991bc966a68b0000 /apps/examples/Makefile
parent77328a1539b34e3b472606673bc726241b0cac20 (diff)
downloadnuttx-ab14fe398b2693da319e4bd47ed1adda704e8175.tar.gz
nuttx-ab14fe398b2693da319e4bd47ed1adda704e8175.tar.bz2
nuttx-ab14fe398b2693da319e4bd47ed1adda704e8175.zip
Make NX and NXTEXT built-ins; extend stm3210e-eval/nsh2 config to run the NX example from the NX command line
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3791 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/Makefile')
-rw-r--r--apps/examples/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/examples/Makefile b/apps/examples/Makefile
index b19dff483..f79a366ef 100644
--- a/apps/examples/Makefile
+++ b/apps/examples/Makefile
@@ -41,12 +41,19 @@ SUBDIRS = buttons dhcpd ftpc hello helloxx hidkbd igmp mm mount nettest \
nsh null nx nxffs nxflat nxtext ostest pashello pipe poll rgmp romfs \
sendmail serloop thttpd udp uip usbserial usbstorage wget wlan
+# Sub-directories that might need context setup
+
+CNTXTDIRS = nx nxtext
+
all: nothing
.PHONY: nothing context depend clean distclean
nothing:
context:
+ @for dir in $(CNTXTDIRS) ; do \
+ $(MAKE) -C $$dir context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"; \
+ done
depend:
@for dir in $(SUBDIRS) ; do \