Microsoft SDK for Java

Nmake

The Microsoft Program Maintenance Utility (Nmake) builds projects based on commands contained in a description file (makefile).

Use the one of the following command to run Nmake:

nmake [@commandfile]

nmake [options] [macros] [targets]

Nmake Command-Line Arguments

options One or more Nmake options.
macros One or more Nmake macros.
targets Files to be built.
@commandfile A command file listing options and file specifications to be used by Nmake. For more information, see Command Files.

Nmake Command-Line Options

/a /b /c /d /e /f /help, /? /i /k /n /nologo /p /q /r /s /t /u /x /y

Usage Notes

Nmake only builds specified targets or, if none are specified, the first target in the makefile. The first makefile target can be a pseudo-target that builds other targets. Nmake uses makefiles specified with /f. If /f is not specified, it uses the Makefile file in the current directory. If no makefile is specified, it uses inference rules to build command-line targets.

Use the @commandfile argument to specify a separate command file that supplies command-line input. Other input can precede or follow @commandfile. A path is permitted.

Nmake options may be preceded by either a forward slash (/) or a hyphen (–) and are not case-sensitive. Use !CMDSWITCHES to change option settings in a makefile.

See Also

Nmake Options

Nmake Exit Codes

Command Files

© 1999 Microsoft Corporation. All rights reserved. Terms of use.