chiark / gitweb /
Big incompatible change: Rename `Subdir' to `Dir'
[subdirmk.git] / clean.sd.mk
index 08f8dcc61e5cd584618e97a8d81b696f0dfd50ca..b145442183d7c450ea09f49a3a87db2ffbbc9815 100644 (file)
@@ -5,7 +5,7 @@
 
 &# Usage:
 &#   &:include subdirmk/clean.sd.mk
-&# (probably in Perdir.sd.mk)
+&# (probably in Suffix.sd.mk)
 &#
 &# Provides a per-directory `clean' target, which deletes all the files
 &# in &CLEAN.  &OBJECTS, &DEPFILES and &TARGETS are automatically deleted.
 &#     $(RM) -r somethingn
 &# ($(RM) conventionally contains `-f'.)
 
-&CLEAN += & *~ *.tmp
+&CLEAN += & *~ .*~ *.tmp
 &CLEAN += $(&OBJECTS)
 &CLEAN += $(&TARGETS)
 
-# &TARGETS_clean
+&TARGETS_clean +=
 
 &/clean::
        $(RM) $(&CLEAN)