Share via


Expressions in Makefile Preprocessing

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

The !IF or !ELSE IFconstantexpression consists of integer constants (in decimal or C-language notation), string constants, or commands. Use parentheses to group expressions. Expressions use C-style signed long integer arithmetic; numbers are in 32-bit two's-complement form in the range – 2147483648 to 2147483647.

Expressions can use operators that act on constant values, exit codes from commands, strings, macros, and file-system paths.

What do you want to know more about?

Makefile preprocessing operators

Executing a program in preprocessing