start
platform
platform-specific-statement-list
end
A platform-specific section is enclosed in start
and end
.
The platform-specific statements allowed depend on the platform.
Unlike #if defined
blocks, which allow
statements to specify different files dependent upon the platform for which the
makefile is being created, start ... end
platform blocks are used to delimit statements understood only by
the build tools when creating a makefile for a particular platform.
The .mmp
project definition file is preprocessed
for each build, with the target platform defined as a
macro equal to itself.
This allows, for example, the project definition file to be
preprocessed with the macro WINS defined as WINS so preserving the syntax of start
WINS ... end
blocks.
Where VC6 is the target platform, the macro WINS is defined instead.