On Sat, Aug 18, 2012 at 12:29:51PM +0200, Marc Espie wrote:
> Our make currently "misbehaves" and doesn't treat this as a problem.
>
> A=a
>
> a:
> echo ${A
>
>
> there are several possibilities.
> 1/ do like gmake and treat this as an actual error.
> 2/ keep the status quo
> 3/ do something else: if it's not a complete variable reference, then it
> should be seen as a string
>
>
> 2/ is error-prone.
> 1/ is easy to implement
> 3/ is a bit more complex but probably more compatible with lots of stuff.
>
>
> Opinions ? examples of Makefiles where something similar would actually
> be used ?
>
Treating this as an error, even if it means following gmake, seems to
make the most sense to me.
.... Ken