Skip to Main Content
C# in a Nutshell
book

C# in a Nutshell

by Ben Albahari, Ted Neward, Peter Drayton
March 2002
Intermediate to advanced content levelIntermediate to advanced
864 pages
31h 8m
English
O'Reilly Media, Inc.
Content preview from C# in a Nutshell

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

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# 8.0 in a Nutshell

C# 8.0 in a Nutshell

Joseph Albahari, Eric Johannsen
C# 10 in a Nutshell

C# 10 in a Nutshell

Joseph Albahari
C# in a Nutshell, Second Edition

C# in a Nutshell, Second Edition

Peter Drayton, Ben Albahari, Ted Neward
Code like a Pro in C#

Code like a Pro in C#

Jort Rodenburg

Publisher Resources

ISBN: 0596001819Catalog PageErrata