Syntax:
#ELSE
|
#ELSE can be speci ed after a #IFDEF or #IFNDEF directive as an alternative. Lines following #ELSE are skipped read if the preceding #IFDEF or #IFNDEF was accepted.
They are skipped until the keyword #ENDIF is encountered, after which normal processing is resumed.
Example :
#IFDEF VER0_99_5
-Fu/usr/lib/fpc/0.99.5/linuxunits #ELSE -Fu/usr/lib/fpc/0.99.6/linuxunits #ENDIF |
In the above example, /usr/lib/fpc/0.99.5/linuxunits will be added to the path if you're compiling with version 0.99.5 of the compiler, otherwise /usr/lib/fpc/0.99.6/linuxunits will be added to the path.