The information in this article applies to:
SYMPTOMSIf an NMAKE version 1.11, 1.12, 1.13, 1.2, or 1.21 INCLUDE macro, which can be used to modify the include environment variable, is created from other macros, the text substitution will not be done when there is an implied use of the include environment variable with the !INCLUDE directive. RESOLUTIONTo work around this problem, do not use macros to redefine the include environment variable. For example, change the assignment from
to
STATUSMicrosoft has confirmed this to be a problem in NMAKE versions 1.11, 1.12, 1.13, and 1.2 for MS-DOS and versions 1.11, 1.12, 1.13, and 1.21 for OS/2. This problem was corrected in NMAKE version 1.3. MORE INFORMATION
In the following example, the INCLUDE macro is created from the
INCLUDE1 and INCLUDE2 macros. When the !INCLUDE is executed, NMAKE
will search the directories pointed to by the include environment
variable for the file TEST.INC.
If the INCLUDE macro is explicitly used in a command line, it will be expanded correctly. Sample Makefile
Additional query words: 1.11 1.12 1.13 1.20 1.21
Keywords : kb16bitonly |
Last Reviewed: October 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |