diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-29 12:31:26 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-29 12:31:26 +0000 |
commit | e888c15e314cca5d4cdc818b8640cbf0d9580c97 (patch) | |
tree | 500eb93ddd4927a614067b6fab5ab323a23de95c /Makefile.tpl | |
parent | bc7307d8abfa39a7ec073d512a2c84eeaf84c5bf (diff) | |
download | gcc-e888c15e314cca5d4cdc818b8640cbf0d9580c97.tar.gz |
* Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc
from the gcc build directory.
* Makefile.in: Regenerate.
gcc/
* Makefile.in (clean-target): Depend on clean-target-libgcc.
(clean-target-libgcc): Import rule from the top-level Makefile.in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107668 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index c99ba5b5494..4f38d6c5de4 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -839,14 +839,10 @@ maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean maintainer-clean: local-distclean realclean: maintainer-clean -# Extra dependency for clean-target, owing to the mixed nature of gcc +# Extra dependency for clean-target, owing to the mixed nature of gcc. clean-target: 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 - -rm -f gcc/stmp-dirs + test ! -d gcc || (cd gcc && $(MAKE) $@) # Check target. |