From faaf908f9c5b7f7dfd877fc6980103637749e8ad Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 6 Dec 2000 03:00:15 +0000 Subject: [PATCH] Don't abort clean rules if one subdirectory fails. --- v7/src/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/v7/src/Makefile b/v7/src/Makefile index 0ee89e0ad..5cb1a8c63 100644 --- a/v7/src/Makefile +++ b/v7/src/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.3 2000/12/06 02:42:53 cph Exp $ +# $Id: Makefile,v 1.4 2000/12/06 03:00:15 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -33,10 +33,16 @@ setup: done (cd microcode && ./Setup.sh) -tags TAGS mostlyclean clean distclean maintainer-clean: +tags TAGS: @for SUBDIR in $(SUBDIRS); do \ echo "making $@ in $${SUBDIR}"; \ (cd $${SUBDIR} && $(MAKE) $@) || exit 1; \ done +mostlyclean clean distclean maintainer-clean: + @for SUBDIR in $(SUBDIRS); do \ + echo "making $@ in $${SUBDIR}"; \ + (cd $${SUBDIR} && $(MAKE) $@); \ + done + .PHONY: all setup tags TAGS mostlyclean clean distclean maintainer-clean -- 2.25.1