bug-make
[Top][All Lists]
Advanced

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

Re: Is VPATH Iterative?


From: Jim Tison
Subject: Re: Is VPATH Iterative?
Date: Mon, 21 Jan 2002 22:14:25 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221

Thank you very much for your prompt -- and clear -- reply. I'll have my colleague fire up his browser.

Regards,
Jim

Paul D. Smith wrote:

%% Jim Tison <address@hidden> writes:

 jt> A colleague of mine asks an interesting question about VPATH. He
 jt> claims that, within the execution of a single makefile, he has
 jt> just made an object within a directory path named as one of the
 jt> VPATH operands (not cwd). The very next rule within that same
 jt> makefile states a dependency on that object, and make cannot find
 jt> it through VPATH.

VPATH, generally, cannot be used to locate derived objects.  It can
_only_ be safely used to locate source objects--in particular, source
files or other files which the makefile does not itself create, but
builds things from.

I suggest you take a look at my web site below; there is some
information there on how VPATH can, and cannot, be used that might shed
some light on your situation.






reply via email to

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