Hi All,
Basic 101 question:
I have a c file which is compiled in a port via the ports Makefile, by running
In the c file are numerous #ifdef var evaluations:
How from the make command line can I set these variables to be true?
Kr,
James
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 */
}
Kr,
James