The following macros are defined (or read from the environment variable)
by NMAKE32 before the first file is read.
MAKEDIR
Current working directory when NMAKE32 is
invoked.
MAKE
The name of
the NMAKE32 program.
MAKEVER
The
current NMAKE32 version number.
MAKEFLAGS
All
command line parameters, plus the values form the MAKEFLAGS environment
variable, except for b, f, o, p, and x options.
TIMESTAMP
Data and time when NMAKE32 was started. The format
is locale specific.
DATE
Date
from TIMESTAMP in the form: YYYYMMDD (for example, 19960325)
TIME
Time from TIMESTAMP in the form: HHMMSS (for example,
123015)
AS
Expands to the
default assembler, which is "masm" on OS/2.
CC
Expands
to the default C language compiler, which is "icc" on OS/2.
COBOL
Expands to the default cobol compiler, which is
"cobol" on OS/2.
FOR
Expands
to the default fortran compiler, which is "fl" on OS/2.
PASCAL
Expands to the default pascal compiler, which is
"pl" on OS/2.
RC
Expands
to "rc", the resource compiler, which is "rc" on OS/2.
The following macro, while not predefined by NMAKE32, also has special significance
.PATH.ext = path_list
where:
ext
is the extension for which the search
path should be applied.
path_list
is
the list of paths, separated by semicolons. Note that macros are expanded
in this path list, so $(INCLUDE), $(DPATH), or any other macro or environment
variable could be used.
The path_list is only used when a dependent file specification has
no path and cannot be found as specified. NMAKE32 tries to locate the file
in each of the paths specified in the path_list which matches that
file's extension. It uses the first copy of the file found in the path list.
Any number of these macros (one per extension) may be defined in a description
file, so that any or all of the file extensions that are specified in your
description file may be supported.
[Back]
[Next]