Update of bug #60399 (project make): Item Group: Bug => Enhancement
_______________________________________________________ Follow-up Comment #2: Re-reading this I think I want to retract my earlier comment that this does not seem right. I think that make's behavior here is correct. But, I'm willing to be convinced otherwise if there are good arguments for it. The way a grouped target works is that a single invocation of the recipe builds ALL targets. This implies that if any single target in the set of grouped targets is out of date, then all the targets will be built. In this example b is always out of date, and so the targets will always be built. Just to check I tried using a pattern rule with multiple targets in this same way (forcing only one of the targets to be out of date then explicitly building the other one) and it worked the same way: both targets were rebuilt rather than saying "up to date". I'll leave this open as an enhancement to consider, and will be interested to hear others' thoughts, but at this point I think the current behavior of GNU make is correct and no changes are needed. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60399> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/