[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in pattern rule parsing: how to handle?
From: |
Paul Smith |
Subject: |
Re: Bug in pattern rule parsing: how to handle? |
Date: |
Sun, 26 Oct 2008 19:14:16 -0400 |
On Sun, 2008-10-26 at 15:32 -0700, Philip Guenther wrote:
> Just to be clear, the problem with mixing a pattern with a normal
> target is what happens when there's a pattern prerequisite, right? I
> mean, the example you gave at least has a sensical _possible_
> interpretation, but this:
> foo %.c: %.c.real ; @: cp $< $@
>
> doesn't, so make _has_ to detect and throw an error there.
Correct, although IMO just because it has a _possible_ reasonable
interpretation isn't enough to overcome all the reasons why we shouldn't
allow it :-)
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.us
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist