You mean, as a workaround until Automake is improved? You could overwrite the rule in your Makefile.am:mostlyclean-compile: -find . -name \*.lo -o -name \*.$(OBJEXT) -print | xargs rm -f But note that automake may generate other files that would need to be mostlyclean'ed too, so the above could be insufficient for your project.
Thanks, that seems to work as a workaround. But, of course, it would be good, if I knew what will be generated, so that I can clean everything even when Makefile.am changes slightly. Is there a variable that already contains every name of MAKE-generated files?
Thanks for the report,
No problem. But I was a bit surprised that I haven't found any proper bugtracker. Now, I have to subscribe to automake-patches and try to figure out when automake will have improvements that fix the slow "make clean" problem instead of just subscribing to the specific bug report.
Ralf
