Follow-up Comment #3, bug #43757 (project make): I'm not sure in what way you disagree: I looked at the code and described how it works. There's a file object which is created for that file, so that the target-specific variables have a place to live. Because that file object exists, when intermediate checks are done the target is considered to be not intermediate. So, the fact that the target name appears in the target-specific variable IS disabling its intermediate-ness. That's just a fact.
It's not eligible for a default command goal because the part of the code which checks for default command goals is only invoked in the parser where we define a real target, and this clearly doesn't define a real target. But defining a real target is not the same as being "mentioned" as a target. I did say "it's quite possible ... GNU make should not treat targets in target-specific variable assignments as "mentioned"" and left this report open as an enhancement request. So apparently you agree with that. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?43757> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make