aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-09 22:01:05 +0000
committerRob Landley <rob@landley.net>2006-03-09 22:01:05 +0000
commit31e3610c4b71594c3b141a249ab2e5812c92980a (patch)
tree5a77f3305ddc1d55b116299843b137d9efa25e74
parentac664e07dfb3d833c8b8b1294c262a4ed5032d98 (diff)
downloadbusybox-w32-31e3610c4b71594c3b141a249ab2e5812c92980a.tar.gz
busybox-w32-31e3610c4b71594c3b141a249ab2e5812c92980a.tar.bz2
busybox-w32-31e3610c4b71594c3b141a249ab2e5812c92980a.zip
Cleanup from Paul Fox. One find piped to xargs is faster/simpler than
lots of finds doing individual -exec rm.
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 7fcdd45e5..f255394ff 100644
--- a/Makefile
+++ b/Makefile
@@ -441,18 +441,14 @@ clean:
441 libbusybox.so* \ 441 libbusybox.so* \
442 .config.old busybox busybox_unstripped 442 .config.old busybox busybox_unstripped
443 - rm -r -f _install testsuite/links 443 - rm -r -f _install testsuite/links
444 - find . -name .\*.flags -exec rm -f {} \; 444 - find . -name .\*.flags -o -name \*.o -o -name \*.om \
445 - find . -name \*.o -exec rm -f {} \; 445 -o -name \*.os -o -name \*.osm -o -name \*.a | xargs rm -f
446 - find . -name \*.om -exec rm -f {} \;
447 - find . -name \*.os -exec rm -f {} \;
448 - find . -name \*.osm -exec rm -f {} \;
449 - find . -name \*.a -exec rm -f {} \;
450 446
451distclean: clean 447distclean: clean
452 - $(MAKE) -C scripts/config clean 448 - $(MAKE) -C scripts/config clean
453 - rm -f scripts/bb_mkdep 449 - rm -f scripts/bb_mkdep
454 - rm -r -f include/config $(DEP_INCLUDES) 450 - rm -r -f include/config $(DEP_INCLUDES)
455 - find . -name .depend'*' -exec rm -f {} \; 451 - find . -name .depend'*' | xargs rm -f
456 rm -f .config .config.old .config.cmd 452 rm -f .config .config.old .config.cmd
457 453
458release: distclean #doc 454release: distclean #doc