Skip to content

Latest commit

 

History

History
61 lines (54 loc) · 1.75 KB

File metadata and controls

61 lines (54 loc) · 1.75 KB
title Running NMAKE | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
targets, building
response files, NMAKE
targets
command files
NMAKE program, targets
NMAKE program, running
command files, NMAKE
ms.assetid 0421104d-8b7b-4bf3-86c1-928d9b7c1a8c
caps.latest.revision 7
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Running NMAKE

Syntax

NMAKE [option...] [macros...] [targets...] [@commandfile...]  

Remarks

NMAKE builds only specified targets or, if none is specified, the first target in the makefile. The first makefile target can be a pseudotarget 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.

The commandfile text file (or response file) contains command-line input. Other input can precede or follow @commandfile. A path is permitted. In commandfile, line breaks are treated as spaces. Enclose macro definitions in quotation marks if they contain spaces.

What do you want to know more about?

NMAKE options

Tools.ini and NMAKE

Exit codes from NMAKE

See Also

NMAKE Reference