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

Using the Program Maintenance Utility, NMAKE

Why use NMAKE?
Running NMAKE
Using the command line
Command-line syntax
Command-line help
Using NMAKE command files
Why use a command file?
Command file syntax
Example
NMAKE options
Produce error file (/X)
Build all targets (/A)
Suppress messages (/C)
Display modification dates (/D)
Override environment variables (/E)
Specify description file (/F)
Display help (/HELP or /?)
Ignore exit codes (/I)
Display commands (/N)
Suppress sign-on banner (/NOLOGO)
Print macro and target definitions (/P)
Return exit code (/Q)
Ignore TOOLS.INI file (/R)
Suppress command display (/S)
Change target modification dates (/T)
Description files
Description blocks
Special features
Targets in several description blocks
Using macros
Macros example
Special features
Macros in a description file
Macros on the command line
Inherited macros
Defined macros
Macro substitutions
Special macros
Special macros examples
File-specification parts
Characters that modify special macros
Modified special macros example
Macro precedence rules
Inference rules
Special features
Inference rules example
Inference-rule path specifications
Predefined inference rules
Directives
Directives example
Pseudotargets
Predefined pseudotargets
.SILENT Pseudotarget
.IGNORE Pseudotarget
.SUFFIXES Pseudotarget
.PRECIOUS Pseudotarget
Inline files
Inline files example
Escape characters
Characters that modify commands
Turn error checking off (-)
Dash command modifier examples
Suppress command display (@)
At sign (@) command modifier example
Execute command for dependents (!)
Exclamation point (!) command modifier examples
EXTMAKE Syntax
Macros and inference rules in TOOLS.INI
TOOLS.INI example

The Program Maintenance Utility (NMAKE) automates the process of updating project files. NMAKE compares the modification dates for one set of files (the target files) with those of another set of files (the dependent files). If any dependent files have changed more recently than the target files, NMAKE executes a series of commands to bring the targets up-to-date.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)