summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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) {} \;