changeset 2926:53961f90b9dd

d64/makefile: Stop building if error in subdirectory build
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 18 Jan 2014 09:54:17 +0100
parents aa31ba389777
children 9d256fa9ba31
files level1/d64/makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/level1/d64/makefile	Sat Jan 18 09:49:38 2014 +0100
+++ b/level1/d64/makefile	Sat Jan 18 09:54:17 2014 +0100
@@ -111,7 +111,7 @@
 	@$(ECHO) "*      NitrOS-9/$(CPU) Level $(LEVEL) $(MACHINE) ($(PORT))"
 	@$(ECHO) "*"
 	@$(ECHO) "************************************************************"
-	$(foreach dir, $(DIRS), ($(CD) $(dir); make STEP=$(STEP) UPGRADED32=$(UPGRADED32));)
+	$(foreach dir,$(DIRS),$(MAKE) -C $(dir) STEP=$(STEP) UPGRADED32=$(UPGRADED32) &&) :
 
 # Clean all components
 clean:	dskclean