summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-07-28 02:22:17 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-07-28 02:22:17 +0000
commit1670d1ea21c017527f83b2067968e0e63bf5cafe (patch)
tree143f13bf622f12747a6a52c1a55039885875c666 /Makefile.in
parent9d98a69423a0bf6d7f6c33f1f05f70c74282d65b (diff)
downloadgcc-1670d1ea21c017527f83b2067968e0e63bf5cafe.tar.gz
Makefile.in (clean-target-libgcc): Remove gcc/libgcc.
* Makefile.in (clean-target-libgcc): Remove gcc/libgcc. (clean-target): Depend on it. From-SVN: r35308
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 6 insertions, 1 deletions
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.