OSDN Git Service

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 8003c5a..8e9b8b9 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