Преглед на файлове

Stop Recursive Compilation on Errors

JDierkse преди 5 години
родител
ревизия
58be4141e4
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -155,7 +155,11 @@ $(SUBDIRS):
 		done; \
 		true; \
 		echo " <$@>"; \
-		$(MAKE) -s -S -C $@ artifacts $(ARCH); \
+		if ($(MAKE) -s -S -C $@ artifacts $(ARCH)); then \
+			:; \
+		else \
+			exit $$?; \
+		fi; \
 		depth=$(MAKELEVEL); \
 		while [ $${depth} -gt 0 ] ; do \
 			echo -n " "; \