Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Defining an NMAKE Macro

Syntax

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

See Also

Macros and NMAKE

Show:
© 2015 Microsoft