From 4583f84ac9ba043394be13c417e6fa0c82338c5f Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 6 Oct 2005 06:25:11 +0000 Subject: Remove *.o and *.os running find only once --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0dd54c593..b0a557e48 100644 --- a/Makefile +++ b/Makefile @@ -370,8 +370,7 @@ clean: @if [ -d libc/sysdeps/linux/$(TARGET_ARCH) ]; then \ $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) clean; \ fi - -find . -name \*.o -exec $(RM) {} \; - -find . -name \*.os -exec $(RM) {} \; + -find . \( -name \*.o -o -name \*.os \) -exec $(RM) {} \; distclean: clean -find . \( -name core -o -name \*.orig -o -name \*~ -o -name .\#\* \) -exec $(RM) {} \; -- cgit v1.2.3