%% 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 <[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

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

Reply via email to