summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-05-06 14:00:43 -0700
committerDan Nicholson <dbn.lists@gmail.com>2008-05-06 14:00:43 -0700
commitc5e2b850ad53fcd1af62c838f8ee288e8ea9fb3d (patch)
treebd63f13b1c016b6a56b7e1c453aa4fe1d0c50597 /Makefile
parentcba14d85a854df8b5f24342c072acf21813761b6 (diff)
Always cleanup the makedepend backup files
Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 62ec0709796..c69dfcec796 100644
--- a/Makefile
+++ b/Makefile
@@ -31,10 +31,8 @@ realclean:
-rm -f $(TOP)/configs/current
-rm -f $(TOP)/configs/autoconf
-rm -rf autom4te.cache
- -rm -f `find . -name \*.o`
- -rm -f `find . -name \*.a`
- -rm -f `find . -name \*.so`
- -rm -f `find . -name depend`
+ -find . '(' -name '*.o' -o -name '*.a' -o -name '*.so' -o \
+ -name depend -o -name depend.bak ')' -exec rm -f '{}' ';'