Setting environment variables with Make

August Karlstrom <[email protected]> Sat, 07 Mar 2009 14:19:06 +0100
Newsgroups gmane.comp.gnu.utils
Organization A noiseless patient Spider
Message-ID <[email protected]>
Hi,

I'm trying to store a value between two commands for a production rule 
in a makefile. The following does not work though.

foo:
	bar=`output of some command`
	echo $(bar)

Any ideas?


Regards,

August