[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ignoring VPATH name
From: |
Paul Smith |
Subject: |
Re: ignoring VPATH name |
Date: |
Thu, 18 Sep 2008 13:31:44 -0400 |
On Thu, 2008-09-18 at 13:16 -0400, Martin d'Anjou wrote:
> What makes make print this message:
>
> Ignoring VPATH name `foo/bar.z'.
>
> I looked at the source code but I don't understand how make gets there:
> /* It needs to be remade. If it's VPATH and not reset via GPATH, toss
> the VPATH. */
Make prints that message because this is the way VPATH works. When a
target needs to be rebuilt, it is always rebuilt locally (that is, any
pathname prefix found via VPATH is dropped when assigning $@ during the
rebuild of the target).