aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-02 17:28:19 +0000
committerRoy Marples <roy@marples.name>2008-01-02 17:28:19 +0000
commit6cee86071ec2771f48156831dc667ecb0fd52d76 (patch)
tree6e002b6bd7509d402428bd20f4169967ec37e133
parentb204eb57dcd8dba92f00c317f2c462e6282b914c (diff)
Add + for parallel make to work.
-rw-r--r--default.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/default.mk b/default.mk
index cdde3433..0bbc0ab5 100644
--- a/default.mk
+++ b/default.mk
@@ -20,9 +20,9 @@ CONTENTS = $(_CONTENTS)$(shell $(_CONTENTS_SH))
# Recursive rules
# Adapted from FreeBSDs bsd.subdir.mk
+_+_ ?= +
ECHODIR ?= true
-_SUBDIR = \
- @for x in $(SUBDIR); do \
+_SUBDIR = @${_+_}for x in ${SUBDIR}; do \
if test -d $$x; then \
${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \
${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/; \
@@ -37,6 +37,8 @@ all:
$(_SUBDIR)
clean::
$(_SUBDIR)
+depend::
+ $(_SUBDIR)
install::
$(_SUBDIR)