|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
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:UTILSH, C:FOO)
To specify define names, use the DEFINE directive. For example:
DEFINE(_MSDOS = "1", BAR = "BAZ")
Article last edited on: 2005-07-15 12:53:56
Did you find this article helpful? Yes No
How can we improve this article?