help-make
[Top][All Lists]
Advanced

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

Re: how to read an environment variable in a makefile


From: Boris Godin
Subject: Re: how to read an environment variable in a makefile
Date: Wed, 12 Nov 2008 12:06:09 -0200
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

Hi,
use $(FILE_PATH) instead of $FILE_PATH
Cheers

Sarvesh Saran wrote:

Hi,

I am a newbie and have a rather basic problem. I would like to read an evn variable and use it in my Makefile . As in:

 

Setenv FILE_PATH /remote/src      …this is done on the command line.

 

Next, in the Makefile,

 

INCPATH = -I$FILE_PATH     (this does not work)

 

Any ideas?

 

 

Thanks.


_______________________________________________ Help-make mailing list address@hidden http://lists.gnu.org/mailman/listinfo/help-make


--
Boris Godin
Java Developer - Gameloft COR
Paraná 560, Nueva Córdoba (CP 5000)
Tel.: (+54 0351) 460 26 26 int. 111
MSN:
address@hidden

reply via email to

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