https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101834
--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> --- Thank you for looking at this! (In reply to Jonathan Wakely from comment #5) > 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 is what all other Makefiles do, and that makes sense yes. Is it that simple? I'll test with that now. > That would still leave config.cache and Makefile and the .d fragments though. Yup, but those I know how to handle :-)