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: Paul D. Smith
Subject: [bug #45311] makes only one of two dependencies that depend on the same subdir-pattern rule
Date: Sat, 13 Jun 2015 04:34:54 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

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 
address@hidden 
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 
address@hidden

    _______________________________________________________

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]