OUTPUT
Compilation Unit
-Li
None
None
None
None
The -Li option causes the Compiler to generate a text file which contains a list of the #include files specified in the source. This text file shares the same name as the source file but with the extension, *.inc. The files are stored in the path specified by the TEXTPATH: Text File Path environment variable. The generated file may be used in make files.
The following listing is an example where the -Li compiler option can be used to display a file's contents when that file contains an included directive.
If the source file is: D:\Compile\Sources\main.c: /*D:\Compile\Sources\main.c*/ #include <hidef.h> #include "derivative.h" Then the generated file is: D:\Compile\Sources\main.c : \ "C:\Freescale\CW MCU V10.x\MCU\lib\hc08c\include\hidef.h" \ "C:\Freescale\CW MCU V10.x\MCU\lib\hc08c\include\stddef.h" \ "C:\Freescale\CW MCU V10.x\MCU\lib\hc08c\include\stdtypes.h" \ D:\Compile\Sources\derivative.h \ D:\Compile\Sources\MC9S08GT32.h