I'd like to do the following target variable assignment in make. It works in GNU Make but not in BSD Make.
Make reports "don't know how to make ERLCFLAGS". Any suggestions would be appreciated.
Code:
test: clean debug_compile
debug_compile: ERLCFLAGS += -DTEST
debug_compile: compile compile_test;
Make reports "don't know how to make ERLCFLAGS". Any suggestions would be appreciated.