diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-06 06:25:11 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-06 06:25:11 +0000 |
commit | 4583f84ac9ba043394be13c417e6fa0c82338c5f (patch) | |
tree | 2bde2fbb4f8a35114da933bbe400659196c80dcb /Makefile | |
parent | 7840e3a378de082ed52d6886ca6db128f5536f38 (diff) |
Remove *.o and *.os running find only once
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) {} \; |