Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Using the command line

When using NMAKE at the command line, keep the following in mind:

Command-line syntax

Read syntax diagramSkip visual syntax diagram>>-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

By default, NMAKE uses the file named makefile as the description file.

Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide