Follow-up Comment #13, bug #60297 (project make): It may help to read the docs rather than, or at least in addition to, the code:
https://www.gnu.org/software/make/manual/html_node/Chained-Rules.html You're right that if a target is not intermediate then .SECONDARY will make it intermediate. But since the targets you are referring to are already intermediate this isn't an issue. The main thing .SECONDARY does is stop intermediate files from being deleted. As far as I can tell, that's the purpose of the .NOTINTERMEDIATE target you introduced: to prevent files from being removed so that $(file ...) can read them. Maybe I didn't understand the justification for this new feature: your note just says it's needed without describing the problems you need to be solved. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60297> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/