[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in gnu make?
From: |
Hans-Bernhard Broeker |
Subject: |
Re: Error in gnu make? |
Date: |
13 Mar 2002 19:33:56 GMT |
j <address@hidden> wrote:
> files-a.out b.out c.out
> ${files}: % : %/*.in
> (I never will have but one .out file in each subdirectory, so I could
> do this).
> But this did not work either! It seems that when using the pattern
> matching,the wildcard expansion turns off,
It doesn't turn off. It wasn't ever turned on in the first place.
> Note that the wildcard does work if I don't use a %....
> This can not possible be a feature, not an error. Comments?
Why can't it be a feature that only one of these two features works,
in a single given rule? Actually, I guess what happens is that the
*order* of application of these two feature is what breaks your
example. Wildcards are expanded as the makefile is read. But as
there is no file '%/somename.in' or so in your current directory,
almost certainly, this won't be expanded.
--
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.