help-make
[Top][All Lists]
Advanced

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

Re: Storing environment variables


From: Boris Kolpackov
Subject: Re: Storing environment variables
Date: Tue, 14 Sep 2004 14:57:03 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

address@hidden writes:

> Is there  a way to store all the environment variables in gmake so that i
> can check for the same while running gmake the second time.

Starting from GNU make 3.80 special variable .VARIABLES is available which
expands to a list of all variables defined to this point. Using $(origin )
function you can narrow this list to environment variables only. Then you
can save their names and values (or hash sum) to a file...

-boris






reply via email to

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