FIX: NMAKE Filename-Parts Syntax Does Not Expand MacrosLast reviewed: September 11, 1997Article ID: Q68379 |
1.01 1.11 1.12 1.13 | 1.01 1.11 1.12 1.13
MS-DOS | OS/2kbtool kbbuglist kbfixlist The information in this article applies to:
SYMPTOMSAn attempt to use macro substitution with the filename-parts syntax or the extmake option switch fails.
RESOLUTIONTo work around this problem, replace the extmake switch with the appropriate predefined macros (such as $** and $?).
STATUSMicrosoft has confirmed this to be a problem with NMAKE. It was corrected in NMAKE version 1.2 for MS-DOS and OS/2.
MORE INFORMATIONTo demonstrate this error, specify a directory in the SUBDIR variable. Set the current directory to a different directory and run NMAKE. The file produces the following command line:
cl $(SUBDIR)\myfile.c Sample MakefileSUBDIR = subdir myfile.exe: $(SUBDIR)\myfile.c cl %|pfeF |
Additional reference words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |