NMAKE Help (nmake.hlp) (
Table of Contents;
Topic list)
!IF..., !ENDIF Directives
◄Up► ◄Contents► ◄Index► ◄Back►
─────NMAKE──────────────────────────────────────────────────────────────────
Syntax: !IF constantexpression
Processes the statements between !IF and the next !ELSE or !ENDIF
if <constantexpression> evaluates to a nonzero value.
See: ◄!ELSE... Directives►
◄Expressions in Preprocessing►
Syntax: !IFDEF macroname
Processes the statements between !IFDEF and the next !ELSE or
!ENDIF if <macroname> is defined.
See: ◄Macros►
◄Null Macros and Undefined Macros►
Syntax: !IFNDEF macroname
Processes the statements between !IFNDEF and the next !ELSE or
!ENDIF if <macroname> is not defined.
Syntax: !ENDIF
Marks the end of an !IF, !IFDEF, or !IFNDEF block. Anything
following !ENDIF on the same line is ignored.
-♦-