comparison 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
comparison
equal deleted inserted replaced
3105:94470c7cc95e 3106:5119107aaaa7
112 @$(ECHO) "************************************************************" 112 @$(ECHO) "************************************************************"
113 $(foreach dir,$(DIRS),$(MAKE) -C $(dir) STEP=$(STEP) UPGRADED32=$(UPGRADED32) &&) : 113 $(foreach dir,$(DIRS),$(MAKE) -C $(dir) STEP=$(STEP) UPGRADED32=$(UPGRADED32) &&) :
114 114
115 # Clean all components 115 # Clean all components
116 clean: dskclean 116 clean: dskclean
117 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) 117 $(foreach dir,$(DIRS),$(MAKE) -C $(dir) clean &&) :
118 118
119 dskclean: 119 dskclean:
120 $(RM) $(DSKS) $(LDSKS) 120 $(RM) $(DSKS) $(LDSKS)
121 121
122 dsk: all $(DSKS) 122 dsk: all $(DSKS)