Skip to Main Content
C# in a Nutshell, Second Edition
book

C# in a Nutshell, Second Edition

by Peter Drayton, Ben Albahari, Ted Neward
August 2003
Intermediate to advanced content levelIntermediate to advanced
928 pages
32h 1m
English
O'Reilly Media, Inc.
Content preview from C# in a Nutshell, Second Edition

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# in a Nutshell

C# in a Nutshell

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

C# 7.0 in a Nutshell

Joseph Albahari, Ben Albahari
C# Cookbook, 2nd Edition

C# Cookbook, 2nd Edition

Jay Hilyard, Stephen Teilhet
C# Cookbook

C# Cookbook

Stephen Teilhet, Jay Hilyard

Publisher Resources

ISBN: 0596005261Catalog PageErrata