help-make
[Top][All Lists]
Advanced

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

Re: Multiple target patterns


From: Paul Smith
Subject: Re: Multiple target patterns
Date: Thu, 12 Jun 2008 12:01:30 -0400

On Thu, 2008-06-12 at 11:58 -0300, Boris Godin wrote:
> I tried this but it's not working.
> I think it's because make gives priority to wildcard before %

That won't work.  It's not a priority issue, it's an expansion order
issue.  Expansion of targets and prerequisites, even for pattern rules,
are expanded as the makefile is read in.  That's when all variables and
functions are handled, and it's long before make tries to find rules
that match various patterns and expands the "%" tokens in pattern rules.





reply via email to

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