summaryrefslogtreecommitdiff
path: root/apps/examples/Makefile
diff options
context:
space:
mode:
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 \