Use simple variables in Makefile
var=foo is a "recursive variable assignment", which is expanded on every use (including re-running shell commands). What we really want is var:=foo, which is expanded at definition time.
Loading
Please register or sign in to comment