help-make
[Top][All Lists]
Advanced

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

Re: Environment variable


From: Paul D. Smith
Subject: Re: Environment variable
Date: Mon, 22 Aug 2005 10:04:37 -0400

%% "Hridyesh Pant" <address@hidden> writes:

  hp> Is there any way to set environment variable inside the Makefile?

Any make variable can be exported into the environment of the processes
it invokes with the "export" keyword.

    FOO = bar
    export FOO

See the GNU make manual for details.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

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