diff options
author | Roy Marples <roy@marples.name> | 2008-01-03 10:12:45 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-03 10:12:45 +0000 |
commit | 555fe1165603869e9595085d155ccf58e6169f18 (patch) | |
tree | d9b0217d87d6662f2849cabda37a93e4db90818e /default.mk | |
parent | 079e5e820c76cf0f0d0afeda5d7d4ac933b665d0 (diff) |
If we fail to make, send the error back to parent make.
Diffstat (limited to 'default.mk')
-rw-r--r-- | default.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |