Today I Learned

A Hashrocket project

Default values for Makefile vars

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 🤮
🤮