Fail if any subdir fails.

This commit is contained in:
Keith Whitwell 2004-04-14 14:41:18 +00:00
parent f2b3d0828e
commit e3b0dde49c

View 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