Makefile.in (clean-target-libgcc): Remove gcc/libgcc.

* Makefile.in (clean-target-libgcc): Remove gcc/libgcc.
(clean-target): Depend on it.

From-SVN: r35308
This commit is contained in:
Alexandre Oliva 2000-07-28 02:22:17 +00:00 committed by Alexandre Oliva
parent 9d98a69423
commit 1670d1ea21
2 changed files with 9 additions and 1 deletions

View File

@ -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...

View File

@ -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.