help-make
[Top][All Lists]
Advanced

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

RE: how to set an environment variable from within a makefile


From: Mark Galeck (CW)
Subject: RE: how to set an environment variable from within a makefile
Date: Sat, 17 Mar 2012 20:38:08 -0700

OK, doing it within a recipe is not going to work, except perhaps with 
.ONESHELL (which I can't use, I can't use 3.82).  Please don't laugh.

Why not outside?  

>Is there a way to communicate a variable up-stream, or between makefiles in 
>the same depth of recursion.  I thought I would try to setup an environment 
>variable from within a makefile,
either using
                FOOBAR=value
in a recipe,



reply via email to

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