From 90ce9746c230510f690407b7ccc1330bdca48bbd Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 11 Jun 2009 11:10:01 +0000 Subject: build: make building more strict, abort on errors in gccbuild phase --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0f0bf42bf..d082a9807 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,12 @@ all: build build: gccbuild luabuild gccbuild: - for i in $(MODULES); do make -C$$i compile; done + for i in $(MODULES); do \ + make -C$$i compile || { \ + echo "*** Compilation of $$i failed!"; \ + exit 1; \ + }; \ + done luabuild: i18nbuild for i in $(MODULES); do HOST=$(realpath host) make -C$$i luabuild; done -- cgit v1.2.3