Add + for parallel make to work.
This commit is contained in:
parent
b204eb57dc
commit
6cee86071e
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user