From 75e3be2c706ebd829b5d544dd20b4a00ac4520ea Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 4 Oct 2005 14:47:17 +0000 Subject: Do not recurse into ldso/libc/libpthread on clean --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b46518d0a..c54251dd2 100644 --- a/Makefile +++ b/Makefile @@ -348,13 +348,13 @@ defconfig: extra/config/conf clean: @$(RM) -r lib include/bits - $(RM) */*.so */*.a + $(RM) libc/*.a libc/obj.* libc/nonshared_obj.* $(RM) libc/misc/internals/interp.c + $(RM) ldso/libdl/*.a $(RM) include/fpu_control.h $(MAKE) -C extra/locale clean - $(MAKE) -C ldso clean - $(MAKE) -C libc clean - $(MAKE) -C libpthread clean + $(MAKE) -C ldso headers_clean + $(MAKE) -C libpthread headers_clean $(MAKE) -C test clean $(MAKE) -C utils clean @set -e; \ @@ -370,9 +370,10 @@ clean: @if [ -d libc/sysdeps/linux/$(TARGET_ARCH) ]; then \ $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) clean; \ fi - - find . \( -name \*.o -o -name core -o -name .\#\* \) -exec $(RM) {} \; + -find . -name \*.o -exec $(RM) {} \; distclean: clean + -find . \( -name core -o -name \*.orig -o -name \*~ -o -name .\#\* \) -exec $(RM) {} \; $(RM) .config .config.old .config.cmd $(RM) extra/locale/*.txt $(MAKE) -C extra clean -- cgit v1.2.3