diff level1/d64/makefile @ 3106:5119107aaaa7

makefiles: Fail on broken clean targets We want to catch these as well, so stop instead of continue on an error. There are 15 more under 3rdparty/ that still need fixing.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 28 Feb 2016 21:38:31 +0100
parents c2030762022b
children 5fad6ee804ba
line wrap: on
line diff
--- a/level1/d64/makefile	Sun Feb 28 21:38:22 2016 +0100
+++ b/level1/d64/makefile	Sun Feb 28 21:38:31 2016 +0100
@@ -114,7 +114,7 @@
 
 # Clean all components
 clean:	dskclean
-	$(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
+	$(foreach dir,$(DIRS),$(MAKE) -C $(dir) clean &&) :
 	
 dskclean:
 	$(RM) $(DSKS) $(LDSKS)