[Gllug] GNU make expert question: write variable value to a file

Pete Ryland pdr at pdr.cx
Sun Mar 2 02:44:10 UTC 2003


On Sat, Mar 01, 2003 at 06:12:33PM +0000, rich at annexia.org wrote:
> How do I write the value of a makefile variable to a named file?

file: Makefile
	echo "$foo" > $@

Pete
-- 
Pete Ryland
http://pdr.cx/

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list