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
|
# Recursive rules
|
||||||
# Adapted from FreeBSDs bsd.subdir.mk
|
# Adapted from FreeBSDs bsd.subdir.mk
|
||||||
|
_+_ ?= +
|
||||||
ECHODIR ?= true
|
ECHODIR ?= true
|
||||||
_SUBDIR = \
|
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \
|
||||||
@for x in $(SUBDIR); do \
|
|
||||||
if test -d $$x; then \
|
if test -d $$x; then \
|
||||||
${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \
|
${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \
|
||||||
${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/; \
|
${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/; \
|
||||||
@ -37,6 +37,8 @@ all:
|
|||||||
$(_SUBDIR)
|
$(_SUBDIR)
|
||||||
clean::
|
clean::
|
||||||
$(_SUBDIR)
|
$(_SUBDIR)
|
||||||
|
depend::
|
||||||
|
$(_SUBDIR)
|
||||||
install::
|
install::
|
||||||
$(_SUBDIR)
|
$(_SUBDIR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user