summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-07 21:15:53 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-07 21:15:53 +0000
commitb74c3aa1a9b8afb55a63060c8996ae214ff5da09 (patch)
treeaf597dc7be367e5f1925ab1591430d5992d370df /Makefile.in
parentc281901ecf83af2fae2b0776db4e9a6a8caa7964 (diff)
- less verbose make clean
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in21
1 files changed, 10 insertions, 11 deletions
diff --git a/Makefile.in b/Makefile.in
index e453397bc..4969cbfa5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,6 +1,6 @@
# Makefile for uClibc
#
-# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
@@ -471,14 +471,8 @@ defconfig: extra/config/conf
$(Q)./extra/config/conf -d extra/Configs/Config.in \
-D extra/Configs/defconfigs/$(ARCH)
-clean:
- $(Q)$(RM) -r lib include/bits
- $(RM) ldso/*/*.a libpthread/*/*.a libc/*.a libcrypt/*.a libintl/*.a \
- libm/*.a libnsl/*.a libpthread/*.a libresolv/*.a librt/*.a \
- libutil/*.a lib/*.a \
- include/fpu_control.h include/dl-osinfo.h include/hp-timing.h
- +$(MAKE) -s -C test clean
- +$(MAKE) -C utils utils_clean
+include_clean:
+ $(Q)$(RM) include/fpu_control.h include/dl-osinfo.h include/hp-timing.h
@set -e; \
for i in `(cd libc/sysdeps/linux/common/sys; ls *.h)` ; do \
$(RM) include/sys/$$i; \
@@ -488,9 +482,14 @@ clean:
$(RM) include/sys/$$i; \
done; \
fi
+
+clean: include_clean
+ $(Q)$(RM) -r lib include/bits
+ @$(MAKE) -C utils utils_clean
+ +$(MAKE) -s -C test clean
@$(RM) include/linux include/asm*
- $(RM) $(top_builddir)extra/scripts/unifdef
- $(RM) -r $(LOCAL_INSTALL_PATH)
+ $(Q)$(RM) $(top_builddir)extra/scripts/unifdef
+ $(Q)$(RM) -r $(LOCAL_INSTALL_PATH)
distclean: clean
-find . \( -name core -o -name \*.orig -o -name \*~ -o -name .\*.dep \) -exec $(RM) {} \;