From 1670d1ea21c017527f83b2067968e0e63bf5cafe Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 28 Jul 2000 02:22:17 +0000 Subject: Makefile.in (clean-target-libgcc): Remove gcc/libgcc. * Makefile.in (clean-target-libgcc): Remove gcc/libgcc. (clean-target): Depend on it. From-SVN: r35308 --- Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index cac1bbd9d67..a799be64c74 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1052,7 +1052,12 @@ $(CLEAN_TARGET_MODULES): true; \ fi -clean-target: $(CLEAN_TARGET_MODULES) +clean-target: $(CLEAN_TARGET_MODULES) clean-target-libgcc +clean-target-libgcc: + test ! -d gcc/libgcc || \ + (cd gcc/libgcc && find . -type d -print) | \ + while read d; do rm -f gcc/$$d/libgcc.a || : ; done + -rm -rf gcc/libgcc # Check target. -- cgit v1.2.1