-
- Downloads
Deal with Makefile conditional assignment operators.
Ordinarily variable assignments in Makefiles are done simply with an unconditional assignment: the equals sign. There are variants of this: FOO := $(BAR) Avoid recursively expand variables. FOO ?= bar Assign only if $(FOO) is not already set. FOO += bar Add more to a variable. FOO != bar Execute a shell script and assign result to $(FOO). See also https://www.gnu.org/software/make/manual/html_node/Conditional-Example.html https://www.gnu.org/software/make/manual/html_node/Flavors.html
Please register or sign in to comment