I want to set a variable if it is empty. I tried in this way:
.... TEST := $(something) ... TEST ?= $(something else)
The first $(somethi
$(somethi
Here's another alternative that I personally find quite elegant, because it's a one-liner and doesn't need the redundant else-branch:
TEST := $(or $(TEST),$(something else))