Date: Mon, 6 Jan 1997 21:30:10 -0500 (EST) From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> To: terry@lambert.org, ponds!atrad.adelaide.edu.au!msmith Cc: ponds!freebsd.org!hackers Subject: Re: make(1) substitution question... Message-ID: <199701070230.VAA00934@lakes.water.net>
next in thread | raw e-mail | index | archive | help
terry@lambert.org writes: > > > > Can anyone suggest a way of making this DWIM without involving the shell? > > > > FOO= test > > BAR= FOO > BAR= $(FOO) You have to be careful here. Different make implementations will evaluate $(FOO) at different times; which can produce different results. That is, is $(FOO) evaluated when make stumbles across the "BAR= $(FOO)", or is $(FOO) evaluated in a lazy fashion, when make stumbles into $(BAR)... - Dave Rivers -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701070230.VAA00934>