I have such Makefile:
print: var1=inside
print:
@echo $(var1)
When I run var1=outside make -e print. I expected to see:
outside
Variables provided on the command line (and in the environment if the ā-eā option is in force) will take precedence.
But I get:
inside
Is it a correct output?