Required variables in Makefile

April 26, 2018, 10:01 p.m.

Lazy set combined with $(error) will fail a recipe nicely if the user hasn't provided the value for the var

REQUIRED_VAR = $(error Please supply a value for REQUIRED_VAR)