On Mon, 2007-05-14 at 13:20 +0100, Dave Korn wrote:
> On 14 May 2007 12:30, Paul Smith wrote:
> 
> > On Mon, 14 May 2007 11:52:59 +0100, Dave Korn wrote:
> >> export PATH:=/myhome/tools/bin:$PATH
> > 
> > This is not correct.  You need to use the make variable $(PATH), not the
> > shell variable $PATH, since you're in a makefile:
> > 
> > export PATH := /myhome/tools/bin:$(PATH)

> Well, it does work

No it doesn't.

> export PATH:=${PATH}:/tmp

Yes, that will work fine.  But that's not the example you gave in your
email.

>   Am I missing something?

Check the example you gave, quoted above :)

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "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