C51: SUPPORT FOR -I AND -D MAKEFILE COMMANDS
Information in this article applies to:
We wish to call the compiler from a makefile and use the -l and -d options to specify include directories and define names. Can this be done?
The compiler does not support -l and -d, but it does have directives that achieve the same result.
To specify include directories, use the INCDIR directive. For example:
INCDIR (C:\UTILS\H, C:\FOO)
To specify define names, use the DEFINE directive. For example:
DEFINE(_MSDOS = "1", BAR = "BAZ")
Last Reviewed: Wednesday, February 28, 2018
of your data.