make syntax

Even after all these years, I find another bit of make syntax that does a gotcha, which I guess the whole world already knew.

# foo=bar
FOO=BAR

is not the same as

FOO=BAR        #foo-bar

You live and learn.
In case you are wondering, they are different when used as

BAZ=${FOO}-QUEX

Flattr this!

Leave a Reply

Your email address will not be published. Required fields are marked *