Mercurial > hg > Members > kono > nitros9-code
diff level1/dalpha/makefile @ 2835:c1892376e7a7 lwtools-port
Makefiles: Do not let $(RM) silently fail
The - in front of $(RM) was probably remains from
a time when RM was not rm -f, and is not needed any
longer.
In general, if something fails we should notice and fix it, so
using the preceding "-" in makefiles is not a good practice.
The only occurences left are the SOFTLINKs in a few sys/makefile's.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Wed, 10 Jul 2013 19:45:32 +0200 |
parents | 1868fbf470e7 |
children | 84d9d5765057 |
line wrap: on
line diff
--- a/level1/dalpha/makefile Wed Jul 10 19:17:14 2013 +0200 +++ b/level1/dalpha/makefile Wed Jul 10 19:45:32 2013 +0200 @@ -114,7 +114,7 @@ $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) dskclean: - -$(RM) $(PACKAGENAME) $(DSKS) $(LDSKS) + $(RM) $(PACKAGENAME) $(DSKS) $(LDSKS) dsk: all $(PACKAGENAME)