https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101834
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- c++tools/Makefile.in has: mostlyclean:: rm -f $(MAPPER.O) clean:: rm -f g++-mapper-server$(exeext) distclean:: rm -f config.log config.status config.h Should distclean have clean as a prerequisite and clean have mostlyclean as a prerequisite? That would still leave config.cache and Makefile and the .d fragments though.