[Top][All Lists]
[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.
- Multiple target patterns, Boris Godin, 2008/06/11
- Re: Multiple target patterns, Boris Godin, 2008/06/11
- Re: Multiple target patterns, Boris Godin, 2008/06/11
- RE: Multiple target patterns, Dave Korn, 2008/06/11
- Re: Multiple target patterns, Boris Godin, 2008/06/12
- Re: Multiple target patterns, Stephan Beal, 2008/06/12
- Re: Multiple target patterns, Boris Godin, 2008/06/12
- Re: Multiple target patterns,
Paul Smith <=
- Re: Multiple target patterns, Boris Godin, 2008/06/12