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.



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to