Example

!INCLUDE <INFRULES.TXT>
!CMDSWITCHES +D
WINNER.EXE:WINNER.OBJ
!IFDEF DEBUG
! IF "$(DEBUG)"=="y"
     LINK /CO WINNER.OBJ;
! ELSE
     LINK WINNER.OBJ;
! ENDIF
!ELSE
! ERROR Macro named DEBUG is not defined.
!ENDIF

The directives in this example do the following:


[Back: Directives]
[Next: Pseudotargets]