Macros and NMAKE

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.

What do you want to know more about?

Defining an NMAKE macro

Using an NMAKE macro

Special NMAKE macros

See Also

Concepts

NMAKE Reference