help-make
[Top][All Lists]
Advanced

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

Re: paths question


From: Paul D. Smith
Subject: Re: paths question
Date: Thu, 11 Jul 2002 19:27:26 -0400

%% Regarding paths question; you wrote:

  yi> for example: (assuming we are in prv/src) to build ../../obj/foo.o
  yi> we depend on current directory's foo.cc, but if it is missing - we
  yi> want to depend (and compile) the one that is at
  yi> $PRODUCT_PKG)/prv/src/foo.cc .

  yi> how can I do it?

Set:

  VPATH = $(PRODUCT_PKG)

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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



reply via email to

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