bug-make
[Top][All Lists]
Advanced

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

Re: Bug#88324: make: pattern rules are broken in some cases


From: Adam M. Costello
Subject: Re: Bug#88324: make: pattern rules are broken in some cases
Date: Thu, 5 Jul 2001 05:35:03 +0000
User-agent: Mutt/1.3.18i

"Paul D. Smith" <address@hidden> wrote:

> See the second paragraph in the GNU make manual section "How Patterns
> Match".  If the target doesn't contain a slash, then directory names
> are removed from the file name before it is compared.

Thanks.  I guess I'll need to do "make bar/b/c" instead of "make b/c",
so that the target can be "bar/%" instead of "%".

> > I'm almost certain this used to work.
>
> I tried versions of GNU make all the way back to 3.74 with this
> example, and they all behaved as above (no rule to make target...).

Maybe I was thinking of Solaris make.  I just tried it, and it does what
I was expecting ("make b/c" uses the rule "%: bar/%.foo").

AMC



reply via email to

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