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