On Sun, Oct 26, 2008 at 2:48 PM, Paul Smith <[EMAIL PROTECTED]> wrote:
...
> Here's the issue: if you write a rule like this:
>
>        foo %.c: ; @: oops
>
> it actually works!  This, I believe, should be illegal.

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.


Philip Guenther


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to