aboutsummaryrefslogtreecommitdiff
path: root/default.mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-03 10:12:45 +0000
committerRoy Marples <roy@marples.name>2008-01-03 10:12:45 +0000
commit555fe1165603869e9595085d155ccf58e6169f18 (patch)
treed9b0217d87d6662f2849cabda37a93e4db90818e /default.mk
parent079e5e820c76cf0f0d0afeda5d7d4ac933b665d0 (diff)
If we fail to make, send the error back to parent make.
Diffstat (limited to 'default.mk')
-rw-r--r--default.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/default.mk b/default.mk
index 359b100e..80f7ff05 100644
--- a/default.mk
+++ b/default.mk
@@ -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