chiark
/
gitweb
/
~ian
/
subdirmk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixes
[subdirmk.git]
/
Perdir.mk.in
diff --git
a/Perdir.mk.in
b/Perdir.mk.in
index 4e5bb31cd7b80dd2cae14f22f5f3470a97dddaf8..e71764e6cd6b9f9c649b1a4e5a2d268de13f91ac 100644
(file)
--- a/
Perdir.mk.in
+++ b/
Perdir.mk.in
@@
-1,3
+1,11
@@
+&CLEAN += & *~ *.tmp
+&CLEAN += $(&OBJECTS) $(&DEPFILES)
+
+# &TARGETS_clean
+
+&/clean:
+ $(RM) $(&CLEAN)
+
&DEPFILES += $(patsubst %.o,%.d,$(&OBJECTS))
-include $(&DEPFILES)
+
-
include $(&DEPFILES)