32 lines
663 B
Batchfile
32 lines
663 B
Batchfile
echo off
|
||
if x%1 == xTINY goto ok
|
||
if x%1 == xSMALL goto ok
|
||
if x%1 == xCOMPACT goto ok
|
||
if x%1 == xMEDIUM goto ok
|
||
if x%1 == xLARGE goto ok
|
||
if x%1 == xHUGE goto ok
|
||
echo BUILD-C0 must have argument: TINY, SMALL, COMPACT, MEDIUM, LARGE or HUGE
|
||
goto done
|
||
:ok
|
||
echo on
|
||
goto make-%1
|
||
:make-TINY
|
||
TASM C0,C0T /D__TINY__ /MX;
|
||
goto done
|
||
:make-SMALL
|
||
TASM C0,C0S /D__SMALL__ /MX;
|
||
goto done
|
||
:make-COMPACT
|
||
TASM C0,C0C /D__COMPACT__ /MX;
|
||
goto done
|
||
:make-MEDIUM
|
||
TASM C0,C0M /D__MEDIUM__ /MX;
|
||
goto done
|
||
:make-LARGE
|
||
TASM C0,C0L /D__LARGE__ /MX;
|
||
goto done
|
||
:make-HUGE
|
||
TASM C0,C0H /D__HUGE__ /MX;
|
||
echo on
|
||
:done
|
||
|