Mercurial > hg > Members > kono > nitros9-code
changeset 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 | 94470c7cc95e |
children | 3cce8745dd2e |
files | level1/atari/makefile level1/coco1/makefile level1/d64/makefile level1/dalpha/makefile level1/makefile level2/coco3/makefile |
diffstat | 6 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/atari/makefile Sun Feb 28 21:38:22 2016 +0100 +++ b/level1/atari/makefile Sun Feb 28 21:38:31 2016 +0100 @@ -34,7 +34,7 @@ # Clean all components clean: dskclean - $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) + $(foreach dir,$(DIRS),$(MAKE) -C $(dir) clean &&) : dskclean: $(RM) $(DSKS)
--- a/level1/coco1/makefile Sun Feb 28 21:38:22 2016 +0100 +++ b/level1/coco1/makefile Sun Feb 28 21:38:31 2016 +0100 @@ -86,7 +86,7 @@ # Clean all components clean: dskclean - $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) + $(foreach dir,$(DIRS),$(MAKE) -C $(dir) clean &&) : dskclean: $(RM) $(DSKS) $(LDSKS)
--- 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)
--- a/level1/dalpha/makefile Sun Feb 28 21:38:22 2016 +0100 +++ b/level1/dalpha/makefile Sun Feb 28 21:38:31 2016 +0100 @@ -106,7 +106,7 @@ # Clean all components clean: dskclean - $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) + $(foreach dir,$(DIRS),$(MAKE) -C $(dir) clean &&) : dskclean: $(RM) $(DSKS) $(LDSKS)
--- a/level1/makefile Sun Feb 28 21:38:22 2016 +0100 +++ b/level1/makefile Sun Feb 28 21:38:31 2016 +0100 @@ -16,7 +16,7 @@ # Clean all components clean: - $(foreach dir, $(dirs), ($(CD) $(dir); make clean);) + $(foreach dir,$(dirs),$(MAKE) -C $(dir) clean &&) : # Make DSK images dsk: @@ -28,7 +28,7 @@ # Clean DSK images dskclean: - $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);) + $(foreach dir,$(dirs),$(MAKE) -C $(dir) dskclean &&) : # Info info:
--- a/level2/coco3/makefile Sun Feb 28 21:38:22 2016 +0100 +++ b/level2/coco3/makefile Sun Feb 28 21:38:31 2016 +0100 @@ -97,7 +97,7 @@ # Clean all components clean: dskclean - $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) + $(foreach dir,$(DIRS),$(MAKE) -C $(dir) clean &&) : dskclean: $(RM) $(DSKS) $(LDSKS)