3 ms·
Take out the dashes and that's a supported syntax for overriding variables: NAME := foo test: echo "name is $(NAME)" $ make test echo name is fo
by Izkata 2y ago
Take out the dashes and that's a supported syntax for overriding variables:
NAME := foo
test:
echo "name is $(NAME)"
$ make test
echo name is foo
name is foo
$ make test NAME=bar
echo name is bar
name is bar