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:
parent
9d98a69423
commit
1670d1ea21
2 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2000-07-27 Alexandre Oliva <aoliva@redhat.com>
|
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.
|
* Makefile.in (FLAGS_FOR_TARGET): New macro.
|
||||||
(GCC_FOR_TARGET): Use it.
|
(GCC_FOR_TARGET): Use it.
|
||||||
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
|
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
|
||||||
|
|
|
@ -1052,7 +1052,12 @@ $(CLEAN_TARGET_MODULES):
|
||||||
true; \
|
true; \
|
||||||
fi
|
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.
|
# Check target.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue