From: cuz Date: Wed, 9 Jun 2004 19:30:33 +0000 (+0000) Subject: Check the return code of the submakes (Christian Groessler) X-Git-Tag: V2.12.0~717 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=573f1818df7dd4538c6038fa889aa80b71da7cdf;p=cc65 Check the return code of the submakes (Christian Groessler) git-svn-id: svn://svn.cc65.org/cc65/trunk@3115 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/make/gcc.mak b/src/make/gcc.mak index 89f51e6b3..4e3bcdcc6 100644 --- a/src/make/gcc.mak +++ b/src/make/gcc.mak @@ -20,17 +20,17 @@ SUBDIRS = \ .PHONY: all all: - for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak all; done + for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak all || exit $$?; done .PHONY: dist dist: - for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak dist; done + for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak dist || exit $$?; done .PHONY: clean clean: - for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak clean; done + for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak clean || exit $$?; done .PHONY: zap zap: - for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak zap; done + for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak zap || exit $$?; done