| description | Learn more about: Macros and NMAKE | ||
|---|---|---|---|
| title | Macros and NMAKE | ||
| ms.date | 11/04/2016 | ||
| helpviewer_keywords |
|
||
| ms.assetid | d424fd47-63eb-4982-9410-6f412730c265 |
Macros replace a particular string in the makefile with another string. Using macros, you can:
-
Create a makefile that can build different projects.
-
Specify options for commands.
-
Set environment variables.
You can define your own macros or use NMAKE's predefined macros.