chiark / gitweb /
fixes
[subdirmk.git] / Perdir.mk.in
index 06f595f..e71764e 100644 (file)
@@ -1,3 +1,11 @@
 
+&CLEAN += & *~ *.tmp
+&CLEAN += $(&OBJECTS) $(&DEPFILES)
+
+# &TARGETS_clean
+
+&/clean:
+       $(RM) $(&CLEAN)
+
 &DEPFILES += $(patsubst %.o,%.d,$(&OBJECTS))
 -include $(&DEPFILES)