Defining an NMAKE Macro

Home Page (Projects)Overview (NMAKE Reference)How Do I... Topics (Projects)

Use this syntax to define a macro:

macroname=string

The macroname is a combination of letters, digits, and underscores (_) up to 1,024 characters, and is case sensitive. The macroname can contain an invoked macro. If macroname consists entirely of an invoked macro, the macro being invoked cannot be null or undefined.

The string can be any sequence of zero or more characters. A null string contains zero characters or only spaces or tabs. The string can contain a macro invocation.

What do you want to know more about?

Special characters in macros

Null and undefined macros

Where to define macros

Precedence in macro definitions