[Top][All Lists]

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

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

From: Paul D. Smith
Subject: [bug #42125] Explicit rules do not support multiple targets
Date: Wed, 8 Mar 2017 08:36:58 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

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

I'm afraid I don't understand: how can a static pattern rule have multiple
targets?  Each pattern in the target needs to match each of the elements of
the static list, so clearly you can't have multiple patterns.  Unless you're
saying that the target section would have only one pattern plus one or more
explicit targets, which seems of fairly limited usefulness.

It sounds to me like you are just looking for exactly what this bug is asking
for: a way to have an explicit rule be marked to generate multiple targets
with one recipe invocation.  That's a very useful feature, but trying to
shoehorn it into static pattern rules doesn't seem like a good fit at all.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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