summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-06 06:25:11 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-06 06:25:11 +0000
commit4583f84ac9ba043394be13c417e6fa0c82338c5f (patch)
tree2bde2fbb4f8a35114da933bbe400659196c80dcb
parent7840e3a378de082ed52d6886ca6db128f5536f38 (diff)
Remove *.o and *.os running find only once
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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) {} \;