Follow-up Comment #3, bug #45311 (project make):

Well, make walks targets one at a time, so there will always be a "first"
target which is determined to be out of date and matches a given pattern rule,
causing the recipe to fire.  That target is the one that will be set with $@. 
The rest of the targets are marked as "also built".

I definitely wouldn't expect that $@ would contain multiple targets but maybe
it's just because I'm too close :).  Having something that is normally just
one file be multiple files is not expected, IMO.

In general in pattern rules with multiple targets, $* is more useful than $@.

    _______________________________________________________

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

Reply via email to