my c++ source file look for a specific variable passed from the makefile. when making a different target, this variable definition is different.
How can I define a
What about that?
ifeq ($(MAKECMDGOALS),release) CFLAGS += -O3 else CFLAGS += -O0 -ggdb endif