Accessing Environment Variables In a MakefileLast reviewed: January 24, 1995Article ID: Q59141 |
The information in this article applies to:
You can access environment variables within a MAKE or NMAKE makefile in the same way that you access user-defined macros. The only difference is that the names of environment variables must be capitalized when used in this manner. For example: # the INCLUDE "macro" will pick up your INCLUDE environment variable file.obj : file.c $(INCLUDE)\file.h cl /c /Zi /Od file.c |
Additional reference words: kbinf kbinf 1.10 1.20 1.30 1.40 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |