I'm using an external makefile in my project and I'd like to be able to specify the value of variables that can be used in the Makefile, such as with an 'ifeq "$(BLD)" "dbg" statement. Under 'Build options', I've tried setting the variable in the 'Compiler', 'Other Options' box, the 'Compiler', '#defines' box, and even the 'Custom variables' box, but it looks like none of these values are ever passed to the make program, it seems that they are only given to the compiler (and even there, I wonder).
Any way to specify a variable setting in the build options so that the Makefile can use it?