diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-07-28 02:22:17 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-07-28 02:22:17 +0000 |
commit | 1670d1ea21c017527f83b2067968e0e63bf5cafe (patch) | |
tree | 143f13bf622f12747a6a52c1a55039885875c666 | |
parent | 9d98a69423a0bf6d7f6c33f1f05f70c74282d65b (diff) | |
download | gcc-1670d1ea21c017527f83b2067968e0e63bf5cafe.zip gcc-1670d1ea21c017527f83b2067968e0e63bf5cafe.tar.gz gcc-1670d1ea21c017527f83b2067968e0e63bf5cafe.tar.bz2 |
Makefile.in (clean-target-libgcc): Remove gcc/libgcc.
* Makefile.in (clean-target-libgcc): Remove gcc/libgcc.
(clean-target): Depend on it.
From-SVN: r35308
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Makefile.in | 7 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2000-07-27 Alexandre Oliva <aoliva@redhat.com> + * Makefile.in (clean-target-libgcc): Remove gcc/libgcc. + (clean-target): Depend on it. + * Makefile.in (FLAGS_FOR_TARGET): New macro. (GCC_FOR_TARGET): Use it. (CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined... diff --git a/Makefile.in b/Makefile.in index cac1bbd..a799be6 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. |