.ENABLE SUBSTITUTION
;
;	This takes some time, so relax.
;
.ASK ASM Assemble and compile
.IFF ASM		.GOTO NOASM
			.SETS TRC "NONE"
.ASK WKB With walkbacks
.IFT WKB		.SETS TRC "BLOCKS"
.IFINS ...MAC		.GOTO OK2
;	MAC is not installed.  Install it and try again.
			.EXIT
.OK2:
.IFINS ...F77		.GOTO OK1
;	F77 is not installed.  Install it and try again.
			.EXIT
.OK1:
MAC MAPLIB = MAPLIB
MAC LIBMAC = LIBMAC
F77 ARMCNT = ARMCNT/-WR/TR:'TRC'
F77 ARMYEN = ARMYEN/-WR/TR:'TRC'
F77 ARMYMV = ARMYMV/-WR/TR:'TRC'
F77 CARIER = CARIER/-WR/TR:'TRC'
F77 EMPMAIN = EMPMAIN/-WR/TR:'TRC'
F77 EMPUTIL = EMPUTIL/-WR/TR:'TRC'
F77 ENEMYM = ENEMYM/-WR/TR:'TRC'
F77 FIGHMV = FIGHMV/-WR/TR:'TRC'
F77 FIGHTR = FIGHTR/-WR/TR:'TRC'
F77 INITIAL = INITIAL/-WR/TR:'TRC'
F77 MOVCOR = MOVCOR/-WR/TR:'TRC'
F77 PLAYCOM = PLAYCOM/-WR/TR:'TRC'
F77 PROD = PROD/-WR/TR:'TRC'
F77 SHIPMV = SHIPMV/-WR/TR:'TRC'
F77 TROOPM = TROOPM/-WR/TR:'TRC'
.NOASM:
;
			.SETS $IDS ""
.ASK IDS Build it I and D space
.IFT IDS		.SETS $IDS "/ID"
			.SETS $FSL ""
.ASK FSL Build it against FCSFSL
.IFT FSL		.SETS $FSL "FSL
			.SETS $MAP ""
.ASK MAP With a taskbuild map
.IFT MAP		.SETS $MAP ", EMPIRE/-SP/CR"
.OPEN TKBTEMP.CMD
.DATA EMPIRE'$FSL''$IDS'/-XH/CP/FP'$MAP'= EMPIRE'$FSL'/MP
.DATA VSECT=MAPPED:160000:2
.DATA WNDWS=1
.IFT FSL .DATA SUPLIB=FCSFSL:SV
.DATA PRI=50
.DATA ;EXTTSK=24000
.DATA //
.CLOSE
TKB @TKBTEMP
PIP TKBTEMP.CMD;*/DE
;
;
;
