bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #45311] makes only one of two dependencies that depend on the same


From: David Boyce
Subject: [bug #45311] makes only one of two dependencies that depend on the same subdir-pattern rule
Date: Sat, 13 Jun 2015 02:17:19 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36

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

I think the confusion here has to do with the value of address@hidden 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), address@hidden 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]