changeset 2896:84e92ab14cd5 lwtools-port

3rdparty/utils: Add dskclean target to makefiles
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 11 Jan 2014 17:19:08 +0100
parents 92301a2c0eb7
children 260116065a2f
files 3rdparty/utils/boisy/makefile 3rdparty/utils/dasm/makefile 3rdparty/utils/dladd/makefile 3rdparty/utils/makefile 3rdparty/utils/smartwatch/makefile 3rdparty/utils/supercomm/makefile 3rdparty/utils/winfo/makefile
diffstat 7 files changed, 33 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/utils/boisy/makefile	Sat Jan 11 14:10:31 2014 +0100
+++ b/3rdparty/utils/boisy/makefile	Sat Jan 11 17:19:08 2014 +0100
@@ -35,8 +35,11 @@
 dskcopy: dsk
 	$(CP) $(DSKS) $(DSKDIR)
 
-clean:
-	$(RM) $(ALLOBJS) $(DSKS)
+dskclean:
+	$(RM) $(DSKS)
+
+clean: dskclean
+	$(RM) $(ALLOBJS)
 
 info:
 	@echo "*** Boisy Pitre's Utilities ***"
--- a/3rdparty/utils/dasm/makefile	Sat Jan 11 14:10:31 2014 +0100
+++ b/3rdparty/utils/dasm/makefile	Sat Jan 11 17:19:08 2014 +0100
@@ -31,8 +31,11 @@
 dskcopy: dsk
 	$(CP) $(DSKS) $(DSKDIR)
 
-clean:
-	$(RM) $(ALLOBJS) $(DSKS)
+dskclean:
+	$(RM) $(DSKS)
+
+clean: dskclean
+	$(RM) $(ALLOBJS)
 
 info:
 	@echo "*** Collyer Disassembler ***"
--- a/3rdparty/utils/dladd/makefile	Sat Jan 11 14:10:31 2014 +0100
+++ b/3rdparty/utils/dladd/makefile	Sat Jan 11 17:19:08 2014 +0100
@@ -31,8 +31,11 @@
 dskcopy: dsk
 	$(CP) $(DSKS) $(DSKDIR)
 
-clean:
-	$(RM) $(ALLOBJS) $(DSKS)
+dskclean:
+	$(RM) $(DSKS)
+
+clean: dskclean
+	$(RM) $(ALLOBJS)
 
 info:
 	@echo "*** David Ladd's Utilities ***"
--- a/3rdparty/utils/makefile	Sat Jan 11 14:10:31 2014 +0100
+++ b/3rdparty/utils/makefile	Sat Jan 11 17:19:08 2014 +0100
@@ -19,6 +19,9 @@
 dsk:
 	$(foreach dir, $(dirs), ($(CD) $(dir); make dsk);)
 
+dskclean:
+	$(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);)
+
 # Copy DSK images
 dskcopy:
 	$(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);)
--- a/3rdparty/utils/smartwatch/makefile	Sat Jan 11 14:10:31 2014 +0100
+++ b/3rdparty/utils/smartwatch/makefile	Sat Jan 11 17:19:08 2014 +0100
@@ -31,8 +31,11 @@
 dskcopy: dsk
 	$(CP) $(DSKS) $(DSKDIR)
 
-clean:
-	$(RM) $(ALLOBJS) $(DSKS)
+dskclean:
+	$(RM) $(DSKS)
+
+clean: dskclean
+	$(RM) $(ALLOBJS)
 
 info:
 	@echo "*** SmartWatch Utilities ***"
--- a/3rdparty/utils/supercomm/makefile	Sat Jan 11 14:10:31 2014 +0100
+++ b/3rdparty/utils/supercomm/makefile	Sat Jan 11 17:19:08 2014 +0100
@@ -31,8 +31,11 @@
 dskcopy: dsk
 	$(CP) $(DSKS) $(DSKDIR)
 
-clean:
-	$(RM) $(ALLOBJS) $(DSKS)
+dskclean:
+	$(RM) $(DSKS)
+
+clean: dskclean
+	$(RM) $(ALLOBJS)
 
 info:
 	@echo "*** Dave Phillipsen's Supercomm ***"
--- a/3rdparty/utils/winfo/makefile	Sat Jan 11 14:10:31 2014 +0100
+++ b/3rdparty/utils/winfo/makefile	Sat Jan 11 17:19:08 2014 +0100
@@ -34,8 +34,11 @@
 dskcopy: dsk
 	$(CP) $(DSKS) $(DSKDIR)
 
-clean:
-	$(RM) $(ALLOBJS) $(DSKS)
+dskclean:
+	$(RM) $(DSKS)
+
+clean: dskclean
+	$(RM) $(ALLOBJS)
 
 info:
 	@echo "*** WInfo Utility ***"