changeset 3156:ab1e1bca132b

makefile: Delete all disk images on clean
author Tormod Volden <debian.tormod@gmail.com>
date Mon, 17 Apr 2017 20:06:23 +0200
parents 96af4bcea625
children 9e9711931138
files makefile
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/makefile	Tue Feb 07 00:37:56 2017 +0100
+++ b/makefile	Mon Apr 17 20:06:23 2017 +0200
@@ -34,10 +34,11 @@
 
 # Clean all components
 clean:
-	$(RM) nitros9project.zip $(DSKDIR)/*.dsk $(DSKDIR)/ReadMe $(DSKDIR)/index.shtml
+	$(RM) nitros9project.zip
+	$(RM) $(DSKDIR)/*.dsk $(DSKDIR)/*.DSK $(DSKDIR)/*.img
+	$(RM) $(DSKDIR)/ReadMe
+	$(RM) $(DSKDIR)/index.html $(DSKDIR)/index.shtml
 	$(foreach dir,$(dirs),$(MAKE) -C $(dir) clean &&) :
-	$(RM) $(DSKDIR)/ReadMe
-	$(RM) $(DSKDIR)/index.html
 
 # Make DSK images
 dsk:	all