OUTPUT
Compilation Unit
-LmCfg[={i|l|m|n|o|u|q}]
i: Write path of included files
l: Use line continuation
m: Write path of main file
o: Write path of object file
u: Update information
x: Unix style paths
None
None
None
This option is used when configuring the -Lm: List of Included Files in Make Format option. The -LmCfg option is operative only if the -Lm option is also used. The -Lm option produces the `dependency' information for a make file. Each dependency information grouping is structured as shown in the following listing:
<main object file>: <main source file> {<included file>}
If you compile a file named b.c, which includes `stdio.h', the output of -Lm may be:
b.o: b.c stdio.h stddef.h stdarg.h string.h
The l suboption uses line continuation for each single entry in the dependency list. This improves readability as shown in the following listing:
b.o: \ b.c \ stdio.h \ stddef.h \ stdarg.h \ string.h
With the m suboption, the full path of the main file is written. The main file is the actual compilation unit (file to be compiled). This is necessary if there are files with the same name in different directories:
b.o: C:\test\b.c stdio.h stddef.h stdarg.h string.h
The o suboption has the same effect as m, but writes the full name of the target object file:
C:\test\obj\b.o: b.c stdio.h stddef.h stdarg.h string.h
The i suboption writes the full path of all included files in the dependency list (refer to the following listing):
main.o: 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
The u suboption updates the information in the output file. If the file does not exist, the file is created. If the file exists and the current information is not yet in the file, the information is appended to the file. If the information is already present, it is updated. This allows you to specify this suboption for each compilation ensuring that the make dependency file is always up to date.
COMPOTIONS=-LmCfg=u
Compiler options :