Clean up use of 'rm' in Makefiles
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 16 Feb 2016 12:24:05 +0000 (23:24 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 29 Apr 2016 23:18:28 +0000 (09:18 +1000)
commitf1f32a2ff565d98dd41326342eb05efc12fdb886
tree295c558349648f31aee82bfd40c0e66242d4c78d
parent0e46d8c0ac29b851563ef8a8f3300376bf3c893c
Clean up use of 'rm' in Makefiles

Most of the ccan Makefiles use $(RM) to remove files.  However, 'rm' is
traditionally considered one of the few shell tools which can be used in
Makefiles without indirecting via a variable.

rm is also typically invoked with -f in Makefiles, so that it doesn't cause
errors if the files don't exist (because they haven't been built).  A
number of instances in ccan were missing this.

This corrects these warts.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Makefile
ccan/cdump/tools/Makefile
ccan/crypto/sha256/benchmarks/Makefile
ccan/io/benchmarks/Makefile
ccan/timer/benchmarks/Makefile
tools/Makefile
tools/ccanlint/Makefile