Follow-up Comment #2, bug #45311 (project make): I think the confusion here has to do with the value of $@. One might reasonably expect, in a multi-target pattern rule, that $@ would be the list of all matching out-of-date targets but in fact, according to the documentation:
"In a pattern rule that has multiple targets (see Introduction to Pattern Rules), ‘$@’ is the name of whichever target caused the rule’s recipe to be run." Which is a bit unclear wrt the case where neither target exists, but does imply strongly that $@ will refer to just one target. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45311> _______________________________________________ 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