summaryrefslogtreecommitdiffstats
path: root/c/src/make/directory.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/make/directory.cfg11
1 files changed, 10 insertions, 1 deletions
diff --git a/c/src/make/directory.cfg b/c/src/make/directory.cfg
index 1ae1db84bd..27524ed9fb 100644
--- a/c/src/make/directory.cfg
+++ b/c/src/make/directory.cfg
@@ -38,6 +38,15 @@ $(RECURSE_TARGETS):
else
ifdef RECURSE_TARGETS
$(RECURSE_TARGETS):
- set -e; for subd in $(SUB_DIRS); do $(MAKE) -w -C $$subd $@; done
+ @$(ECHO) ; set -e ; \
+ if [ "$(SUB_DIRS)" != "" ] ; then \
+ sdirs="$(SUB_DIRS)" ; \
+ else \
+ sdirs="xxx" ; \
+ fi ; \
+ if [ "$$sdirs" != "xxx" ] ; then \
+ for subd in $$sdirs; do $(MAKE) -w -C $$subd $@; done ;\
+ fi
endif
endif
+