DOCERR: NMAKE Predefined Macro $(@D) Has Same Value As $@Last reviewed: July 17, 1997Article ID: Q64032 |
1.11 | 1.11
MS-DOS | OS/2
kbtool kbdocerr
The information in this article applies to:
SYMPTOMSWith NMAKE version 1.11 the predefined macros $@ and $(@D) both expand to the same value. Page 114 of the "Microsoft C Advanced Programming Techniques" manual that ships with C versions 6.0 and 6.0a shows an example value of the predefined NMAKE macro $@ as:
C:\SOURCE\PROG\SORT.OBJThe macro $(@D) is listed as having a sample value of:
C:\SOURCE\PROGWith NMAKE version 1.11, both macros give the value of the full path, filename, and extension, or:
C:\SOURCE\PROG\SORT.OBJ RESOLUTIONThis problem has been fixed in NMAKE versions 1.12 and later.
MORE INFORMATIONRunning NMAKE version 1.11 with the following makefile gives the result:
echo c:\config.sys c:\config.sysThe result should be:
echo c:\config c:\config Sample Makefilec:\config.sys : echo $(@D) |
Additional reference words: 1.11
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |