Fail if any subdir fails.
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 14 Apr 2004 14:41:18 +0000 (14:41 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 14 Apr 2004 14:41:18 +0000 (14:41 +0000)
src/Makefile

index 8003c5a95c5d7634dd4862b08cd35c2369c3a037..8e9b8b966848d88aa26704befbf586f7dca51dbf 100644 (file)
@@ -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