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 ?

Reply via email to