22 Feb 2019   workflow


Assign default values to a makefile

#!make
test:
	echo $(or $(MSG), 'No message')

Without a value:

$ make test
echo 'No message'
No message

With a value:

$ make test MSG=🤮
echo 🤮
🤮
🍄