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.