aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--sample/Makefile2
2 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a0c49548..ee4c8785 100644
--- a/Makefile
+++ b/Makefile
@@ -149,8 +149,10 @@ local-tidy:
tidy: local-tidy
$(MAKE) -C memdisk tidy
-clean: local-tidy
+local-clean:
rm -f $(ITARGET)
+
+clean: local-tidy local-clean
$(MAKE) -C sample clean
$(MAKE) -C memdisk clean
@@ -159,8 +161,10 @@ dist: tidy
( cd $$dir && rm -f *~ \#* core ) ; \
done
-spotless: clean dist
+local-spotless:
rm -f $(BTARGET)
+
+spotless: local-clean dist local-spotless
$(MAKE) -C sample spotless
$(MAKE) -C memdisk spotless
diff --git a/sample/Makefile b/sample/Makefile
index 689278b2..f4ad1bcf 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -26,3 +26,5 @@ syslogo.lss: syslogo.png $(PPMTOLSS16)
clean:
rm -f *.lss
+
+spotless: clean