From 555fe1165603869e9595085d155ccf58e6169f18 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 3 Jan 2008 10:12:45 +0000 Subject: [PATCH] If we fail to make, send the error back to parent make. --- default.mk | 4 ++-- 1 file 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