Follow-up Comment #4, bug #45311 (project make):
$@ wasn't the source of my confusion. Though the simplified test case would
indeed have worked if $@ expanded to all targets, my actual Makefile
wouldn't.
What confused me was the different behaviour of multiple-target rules with and
without patterns; the former are run once for all targets, the latter once for
each target. It seems quite unintuitive to me. Is there a reason for it, other
than historical?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45311>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make