Command-Line Syntax
NMAKE [options] [macrodefinitions] [targets] [/F filename]
<options>
Specifies options that modify NMAKE's
actions.
<macrodefinitions>
Lists
macro definitions for NMAKE to use. Macro definitions that contain spaces
must be enclosed by double quotation marks.
<targets>
Specifies the names of one or more target files
to build. If you do not list any targets, NMAKE builds the first target
in the description file.
/F <filename>
Gives
the name of the description file where you specify file dependencies and
which commands to execute when a file is out-of-date.
The following example:
NMAKE /S "program = flash" SORT.EXE SEARCH.EXE
- Invokes NMAKE with the /S option
- Defines a macro, assigning the string "flash" to the
macro "program"
- Specifies two targets: SORT.EXE and SEARCH.EXE
By default, NMAKE uses the file named MAKEFILE as the description file.
[Back: Using the Command Line]
[Next: Command-Line Help]