FIX: Last Letter of NMAKE Command-Line Macro Incremented (79824)
The information in this article applies to:
- Microsoft NMAKE Utility for MS-DOS 1.13
- Microsoft NMAKE Utility for MS-DOS 1.2
- Microsoft NMAKE Utility for OS/2 1.13
- Microsoft NMAKE Utility for OS/2 1.21
This article was previously published under Q79824 SYMPTOMS
When the NMAKE command line defines a macro, NMAKE may increment
the last letter of the macro string by one letter. Every other
letter, beginning with the letter "b", is incremented in this
manner. For example, the make file example below expands the macro
DIR to be "XXY" instead of "XXX".
RESOLUTION
Use one of the following three methods to work around this problem:
- Use the /F command-line option to specify the name of the
makefile. For example:
nmake /F test.mak DIR=XXX
-or-
nmake DIR=XXX /F test.mak
- Place any command-line option after the macro definition. For
example:
nmake DIR=XXX /A test.mak
- Define the macro in the specified makefile instead of on the
command line.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kb16bitonly kbfix KB79824 |
---|
|