%% Jim Tison <[EMAIL PROTECTED]> 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.

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

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to