Altering #ifdef in c file from port make...

Hi All,

Basic 101 question:

I have a c file which is compiled in a port via the ports Makefile, by running make.

In the c file are numerous #ifdef var evaluations:

Code:
void report(char *msg)
{
#ifdef DEBUG
  # ifndef DEBUG_MW
    fprintf(stderr, msg);
  # else
    mexPrintf( msg );
  # endif /* DEBUG_MW */
#endif /* DEBUG */
}
How from the make command line can I set these variables to be true?

Kr,

James
 
Back
Top