OUTPUT
Compilation Unit
-Lm[=<filename>]
<filename>: file to be used for the output
The default filename is Make.txt
None
None
Using the -Lm option, the Compiler generates a text file containing a list of the #include files specified in the source. Use the -Lm option when creating make files. The output from several source files may be copied and grouped into one make file. The generated list is in the make format. The filename does not include the path. After each entry, an empty line is added. The Compiler appends the information to the specified filename (or the file make.txt, if no argument is given). Set the TEXTPATH environment variable (refer TEXTPATH: Text File Path) to store the file into the path specified by the environment variable. Otherwise the Compiler stores the file in the current directory.
The example in the following listing shows that the Compiler uses the -Lm option to generate a make file containing include directives.
COMPOTIONS=-Lm=mymake.txt Compiling the following sources 'myfun.c' and 'second.c': /* myfun.c */ #include <stddef.h> #include "myheader.h" ... /* second.c */ #include "inc.h" #include "header.h" ... This adds the following entries in the 'mymake.txt': myfun.o : myfun.c stddef.h myheader.h seconde.o : second.c inc.h header.h
-Li: List of Included Files to ".inc" File
-Lo: Append Object File Name to List (enter [<files>])
Make Utility