Skip to content

Commit 1e2ea7a

Browse files
author
Colin Robertson
committed
Add no-loc tags to test their effects on MT
1 parent 11c42f5 commit 1e2ea7a

File tree

3 files changed

+90
-85
lines changed

3 files changed

+90
-85
lines changed

docs/build/reference/command-macros-and-options-macros.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
---
2-
title: "Command Macros and Options Macros"
3-
ms.date: "11/04/2016"
2+
title: "Command macros and options macros"
3+
description: "Describes the predefined NMAKE macros for build tools and their options."
4+
ms.date: "11/20/2019"
45
helpviewer_keywords: ["options macros", "command macros in NMAKE", "macros, options macros", "macros, command macros"]
56
ms.assetid: 50dff03c-0dc3-4a8a-9a17-57e0e4ea9bac
7+
no-loc: [AS, AFLAGS, CC, CFLAGS, CXX, CXXFLAGS, RC, RFLAGS, ml, ml64, cl, rc]
68
---
7-
# Command Macros and Options Macros
9+
# Command macros and options macros
810

911
Command macros are predefined for Microsoft products. Options macros represent options to these products and are undefined by default. Both are used in predefined inference rules and can be used in description blocks or user-defined inference rules. Command macros can be redefined to represent part or all of a command line, including options. Options macros generate a null string if left undefined.
1012

1113
|Microsoft product|Command macro|Defined as|Options macro|
1214
|-----------------------|-------------------|----------------|-------------------|
13-
|Macro Assembler|**AS**|ml|**AFLAGS**|
14-
|Basic Compiler|**BC**|bc|**BFLAGS**|
15+
|Macro Assembler|**AS**|ml, ias, or ml64|**AFLAGS**|
1516
|C Compiler|**CC**|cl|**CFLAGS**|
1617
|C++ Compiler|**CPP**|cl|**CPPFLAGS**|
1718
|C++ Compiler|**CXX**|cl|**CXXFLAGS**|
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
---
2-
title: "Recursion Macros"
3-
ms.date: "11/04/2016"
2+
title: "Recursion macros"
3+
description: "Describes the macros you use to call NMAKE in recursive sessions."
4+
ms.date: "11/20/2019"
45
helpviewer_keywords: ["NMAKE program, recursion macros", "recursion macros", "macros, recursion"]
56
ms.assetid: c53e5ae7-619e-46b1-bdc2-86d8c7798b1d
7+
no-loc: [MAKE, MAKEDIR, MAKEFLAGS, SET, .SUFFIXES, .PRECIOUS]
68
---
7-
# Recursion Macros
9+
# Recursion macros
810

9-
Use recursion macros to call NMAKE recursively. Recursive sessions inherit command-line and environment-variable macros and Tools.ini information. They do not inherit makefile-defined inference rules or **.SUFFIXES** and **.PRECIOUS** specifications. To pass macros to a recursive NMAKE session, either set an environment variable with SET before the recursive call, define a macro in the command for the recursive call, or define a macro in Tools.ini.
11+
Use recursion macros to call NMAKE recursively. Recursive sessions inherit command-line and environment-variable macros and Tools.ini information. They don't inherit makefile-defined inference rules or `.SUFFIXES` and `.PRECIOUS` specifications. There are three ways to pass macros to a recursive NMAKE session: Set an environment variable with SET before the recursive call. Define a macro in the command for the recursive call. Or, define a macro in Tools.ini.
1012

1113
|Macro|Definition|
1214
|-----------|----------------|
13-
|**MAKE**|Command used originally to invoke NMAKE.<br /><br /> The $(MAKE) macro gives the full path to nmake.exe.|
15+
|**MAKE**|Command used originally to invoke NMAKE.<br /><br /> The `$(MAKE)` macro gives the full path to nmake.exe.|
1416
|**MAKEDIR**|Current directory when NMAKE was invoked.|
15-
|**MAKEFLAGS**|Options currently in effect. Use as `/$(MAKEFLAGS)`. Note, /F is not included.|
17+
|**MAKEFLAGS**|Options currently in effect. Use as `/$(MAKEFLAGS)`. The **/F** option isn't included.|
1618

1719
## See also
1820

19-
[Special NMAKE Macros](special-nmake-macros.md)
21+
[Special NMAKE macros](special-nmake-macros.md)

0 commit comments

Comments
 (0)