help-make
[Top][All Lists]
Advanced

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

Re: VPATH as a pattern variable


From: Paul Smith
Subject: Re: VPATH as a pattern variable
Date: Thu, 05 Apr 2007 21:43:16 -0400

On Thu, 2007-04-05 at 13:12 -0400, Martin DAnjou wrote:
> I do not understand why I get "no rule to make target" with this
> makefile:

> d_%.v: VPATH=src_dir

VPATH settings in target-specific variables are not currently valid.  I
believe there was an enhancement request about this at one point, but I
couldn't find it in a quick search through the bug database.

However, why not just use:

        vpath d_%.v src_dir

?  Doesn't this do the same thing?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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