From e3b0dde49c8f14d7e5de440e9e914612868078f5 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 14 Apr 2004 14:41:18 +0000 Subject: Fail if any subdir fails. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 8003c5a95c..8e9b8b9668 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 -- cgit v1.2.3