diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-03-30 13:03:11 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-03-31 10:38:18 +0100 |
commit | 79d1e0b2c2b8ff4f4b1118549a80945faa1cb356 (patch) | |
tree | c78bc8c8aec0554e5811a7f873a9faddee18e4ce /gcc | |
parent | 608388486a54afe98aed0f105a6101ae7a9ff66c (diff) | |
download | gcc-79d1e0b2c2b8ff4f4b1118549a80945faa1cb356.zip gcc-79d1e0b2c2b8ff4f4b1118549a80945faa1cb356.tar.gz gcc-79d1e0b2c2b8ff4f4b1118549a80945faa1cb356.tar.bz2 |
c++tools: Fix Makefile to properly clean and rebuild [PR101834]
The c++tools makefile doesn't remove progressively more files in each of
mostlyclean, clean, and distclean. Instead, each removes a different set
of files (and some files are not removed by any target). Use
prerequisites so that everything is removed.
Also, building in the $objdir/c++tools directory doesn't work, because
the INSTALL variable is never set. It works when building from the
top-level because INSTALL is set in the environment when recursively
invoking make for sub-directories.
c++tools/ChangeLog:
PR bootstrap/101834
* Makefile.in (INSTALL): Set variable.
(mostlyclean): Mark as a phony target.
(clean): Add mostlyclean as a prerequisite.
(distclean): Add clean as a prerequisite and remove more files.
(maintainer-clean): Add distclean as a prerequisite.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions