O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Nmake.exe — Program Maintenance Utility

Synopsis

nmake [options] [macro=value ...] [targets]

Description

Common utility that scripts building of multiple components and source files and tracks rebuild dependency information. If a target is not specified, Nmake looks for a target called all.

Options

/@ file

Specifies a response file containing arguments to nmake.

/?, /help

Displays usage information and exits.

/a

Build all targets, even if they are up-to-date.

/b

Builds if timestamps are equal.

/c

Suppresses output messages.

/d

Displays build information.

/e

Overrides environment variable macros.

/f makefile

Specifies a makefile. The default is Makefile in the current directory.

/i

Ignores command exit codes. Continues building even if an error occurs in an external program, such as a compiler.

/k

If an error occurs while building a target, /k causes nmake to continue building other targets.

/n

Displays commands, but does not actually execute them.

/nologo

Suppresses display of the banner and copyright messages.

/p

Displays nmake settings and information about the current makefile.

/q

Checks time stamps, but does not perform the build.

/r

Ignores predefined rules. (Compare the output of nmake/pq to the output of nmake/p).

/s

Suppresses display of commands as they are executed.

/t

Changes timestamps, but does not perform the build

/u

Dumps inline files.

/y

Disables batch mode.

/x file

Sends all standard error messages to file.

See Also

Managing Projects with make, by Andrew Oram and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required