ifeq
ifeq is a conditional directive used in GNU Makefiles to evaluate whether two strings are equal after variable expansion. When the condition is true, the makefile region following the directive up to the matching else or endif is included in the build; otherwise that region is skipped.
Syntax: ifeq (arg1, arg2) ... else ... endif. The two arguments are expanded before comparison, and whitespace around
You can test for empty values with ifeq ($(strip $(VAR)),). The strip function removes surrounding whitespace from
Notes: ifeq is one of several conditional directives in GNU Make, alongside ifneq, ifdef, and ifndef. It
See also: GNU make, conditional syntax, ifneq, ifdef, else, endif.