From: Keith Whitwell Date: Wed, 14 Apr 2004 14:41:18 +0000 (+0000) Subject: Fail if any subdir fails. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3b0dde49c8f14d7e5de440e9e914612868078f5;p=mesa.git Fail if any subdir fails. --- diff --git a/src/Makefile b/src/Makefile index 8003c5a95c5..8e9b8b96684 100644 --- a/src/Makefile +++ b/src/Makefile @@ -13,7 +13,7 @@ default: $(LIB_DIR) subdirs subdirs: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir ; make) ; \ + (cd $$dir ; make) || exit 1 ; \ fi \ done