bug-make
[Top][All Lists]
Advanced

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

[bug #42125] Explicit rules do not support multiple targets


From: Dietmar Schindler
Subject: [bug #42125] Explicit rules do not support multiple targets
Date: Tue, 7 Mar 2017 03:33:18 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2036.25

Follow-up Comment #7, bug #42125 (project make):

Regarding comment #5: Thanks for contemplating my suggestion! Indeed I paid
insufficient attention to the implications of allowing some other pattern rule
to be chosen, and I see that this is undesirable and that the static pattern
rule shall be statically chosen for the specified targets.
What I consider unfortunate is that the construct in the original submission
does not work - because (and that's _why_ I'd like _static pattern rules to be
considered pattern rules_, in a sense) I'd need exactly the targeted selection
of the recipe (making sure that no other rule is chosen) combined with this
characteristic of _pattern rules_ from section 10.5.1: _If a pattern rule has
multiple targets, "make" knows that the rule’s recipe is responsible for
making all of the targets. The recipe is executed only once to make all the
targets._

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42125>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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