Make Utility Macros

Macros provide a convenient way to replace one string with another in a makefile. The text is automatically replaced each time the Make utility is run. This makes it easy to change text throughout the makefile without having to edit every line that uses the text. Two common uses of macros are:

A macro can be defined:

Special Features



File Specification Macros
Inherited Macros 
Directives in Makefiles
Escape Character

 
Substitution in a Make Utility Macro
Define a Make Utility Macro
Substitution in a Make Utility Macro


Macro Precedence Rules
Macros and Inference Rules in TOOLS.INI