On Sun, 2009-05-17 at 20:57 +0200, Werner LEMBERG wrote:
> > makefile syntax is not the same as shell syntax.
> > backticks does not work in makefiles as you expect them to.
> > 
> > To do what you want use:
> > 
> >     VPATH = $(shell pwd)/foo

You should use := here or you're setting yourself up for a lot of
performance problems.

You can also use (and save yourself even one shell invocation):

        VPATH := $(CURDIR)/foo

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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to