help-make
[Top][All Lists]
Advanced

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

how to read an environment variable in a makefile


From: Sarvesh Saran
Subject: how to read an environment variable in a makefile
Date: Wed, 12 Nov 2008 10:34:33 +0530

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.


reply via email to

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