summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d1d7d9e64..817ae80ea 100644
--- a/Makefile
+++ b/Makefile
@@ -352,8 +352,8 @@ defconfig: extra/config/conf
@./extra/config/conf -d extra/Configs/Config.in
clean:
- - find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core -o -name .\#\* \) -exec $(RM) {} \;
@$(RM) -r lib include/bits
+ $(RM) */*.so */*.a
$(RM) libc/misc/internals/interp.c
$(RM) include/fpu_control.h
$(MAKE) -C extra/locale clean
@@ -374,9 +374,11 @@ 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) {} \;
distclean: clean
$(RM) .config .config.old .config.cmd
+ $(RM) extra/locale/*.txt
$(MAKE) -C extra clean
release: distclean