If we fail to make, send the error back to parent make.
This commit is contained in:
parent
079e5e820c
commit
555fe11656
@ -24,11 +24,11 @@ ECHODIR ?= true
|
|||||||
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \
|
_SUBDIR = @${_+_}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/ || exit $?; \
|
||||||
fi; \
|
fi; \
|
||||||
if test -d $$x.${OS}; then \
|
if test -d $$x.${OS}; then \
|
||||||
${ECHODIR} "===> ${DIRPRFX}$$x.${OS} ($@)"; \
|
${ECHODIR} "===> ${DIRPRFX}$$x.${OS} ($@)"; \
|
||||||
${MAKE} -C $$x.${OS} $@ DIRPRFX=${DIRPRFX}$$x/; \
|
${MAKE} -C $$x.${OS} $@ DIRPRFX=${DIRPRFX}$$x/ || exit $?; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user