chiark / gitweb /
cleaning
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 00:23:32 +0000 (00:23 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 00:23:32 +0000 (00:23 +0000)
Perdir.mk.in

index 06f595f..41eed60 100644 (file)
@@ -1,3 +1,11 @@
 
+&CLEAN += &/*~
+&CLEAN += $(&OBJECTS)
+
+# &TARGETS_clean
+
+&/clean:
+       $(RM) $(&CLEAN)
+
 &DEPFILES += $(patsubst %.o,%.d,$(&OBJECTS))
 -include $(&DEPFILES)