build.mak as supplied by DJDM. DJDM found the trick needed to include
separate files from one master one - the MAKEFILES_LIST variable. This
is compatible with make v1.80 onwards, i.e. 2002 onwards.
DJDM added extra rules for image filename generation.
AJR added some more image filename generation rules.