Share via


Command Macros and Options Macros

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

Command macros are predefined for Microsoft products. Options macros represent options to these products and are undefined by default. Both are used in predefined inference rules and can be used in description blocks or user-defined inference rules. Command macros can be redefined to represent part or all of a command line, including options. Options macros generate a null string if left undefined.

Microsoft product Command macro Defined as Options macro
Macro Assembler AS ml AFLAGS
Basic Compiler BC bc BFLAGS
C Compiler CC cl CFLAGS
COBOL Compiler COBOL cobol COBFLAGS
C++ Compiler CPP cl CPPFLAGS
C++ Compiler CXX cl CXXFLAGS
FORTRAN Compiler FOR fl FFLAGS
Pascal Compiler PASCAL pl PFLAGS
Resource Compiler RC rc RFLAGS