[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
5. Action Blocks
SUPER-MAINT action blocks are two lines long, with no blank lines between
them. The first line is the target: dependent line. Multiple dependents
are allowed. Explicit dependents include the full path (if not there the
current directory is searched). Dependents enclosed in <brackets> are
searched for in the current directory first, then in the directory you have
indicated in the *INCLUDE statement in your template file.
The second line is the command line. The $(LxCC) macro is your compiler
command (defined in TCXL_C.SM1) for one of three compilers, or assemblers,
and your linker. The $(Lx) macro is actually a set of eight macros (also
defined in TCXL_C.SM1).
The linker action block is unique in the way it handles dependents. It
only accepts the TNAMES macro and libraries as dependents. The TNAMES
macro is required, while libraries are optional(see below to see how they
are invoked).
If you are using a library or libraries as dependents, they must come after
the TNAMES macro, and MUST be a star macro enclosed by square brackets. A
star macro (putting an *asterisk before the macro name) tells SM to use the
*LIBAPPEND statement to append the correct memory model letter to the end
of the library name. Using -m1 would turn C:\C\LIB\ANYLIB.LIB into
C:\C\LIB\ANYLIBS.LIB, -m2 into C:\C\LIB\ANYLIBM.LIB, and so on. If you
want to use a specific library name without the append feature, simply omit
the asterisk.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson