If we fail to make, send the error back to parent make.

This commit is contained in:
Roy Marples 2008-01-03 10:12:45 +00:00
parent 079e5e820c
commit 555fe11656

View File

@ -24,11 +24,11 @@ ECHODIR ?= true
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \
if test -d $$x; then \
${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \
${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/; \
${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/ || exit $?; \
fi; \
if test -d $$x.${OS}; then \
${ECHODIR} "===> ${DIRPRFX}$$x.${OS} ($@)"; \
${MAKE} -C $$x.${OS} $@ DIRPRFX=${DIRPRFX}$$x/; \
${MAKE} -C $$x.${OS} $@ DIRPRFX=${DIRPRFX}$$x/ || exit $?; \
fi; \
done