mkdir vm cd vm set cc=lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1 %cc% ../../game/bg_misc.c @if errorlevel 1 goto quit %cc% ../../game/bg_pmove.c @if errorlevel 1 goto quit %cc% ../../game/bg_slidemove.c @if errorlevel 1 goto quit %cc% ../../game/bg_lib.c @if errorlevel 1 goto quit %cc% ../../game/q_math.c @if errorlevel 1 goto quit %cc% ../../game/q_shared.c @if errorlevel 1 goto quit %cc% ../cg_consolecmds.c @if errorlevel 1 goto quit %cc% ../cg_draw.c @if errorlevel 1 goto quit %cc% ../cg_drawtools.c @if errorlevel 1 goto quit %cc% ../cg_effects.c @if errorlevel 1 goto quit %cc% ../cg_ents.c @if errorlevel 1 goto quit %cc% ../cg_env.c @if errorlevel 1 goto quit %cc% ../cg_event.c @if errorlevel 1 goto quit %cc% ../cg_info.c @if errorlevel 1 goto quit %cc% ../cg_localents.c @if errorlevel 1 goto quit %cc% ../cg_main.c @if errorlevel 1 goto quit %cc% ../cg_marks.c @if errorlevel 1 goto quit %cc% ../cg_players.c @if errorlevel 1 goto quit %cc% ../cg_playerstate.c @if errorlevel 1 goto quit %cc% ../cg_predict.c @if errorlevel 1 goto quit %cc% ../cg_scoreboard.c @if errorlevel 1 goto quit %cc% ../cg_screenfx.c @if errorlevel 1 goto quit %cc% ../cg_servercmds.c @if errorlevel 1 goto quit %cc% ../cg_snapshot.c @if errorlevel 1 goto quit %cc% ../cg_view.c @if errorlevel 1 goto quit %cc% ../cg_weapons.c @if errorlevel 1 goto quit %cc% ../fx_compression.c @if errorlevel 1 goto quit %cc% ../fx_imod.c @if errorlevel 1 goto quit %cc% ../fx_lib.c @if errorlevel 1 goto quit %cc% ../fx_misc.c @if errorlevel 1 goto quit %cc% ../fx_phaser.c @if errorlevel 1 goto quit %cc% ../fx_scavenger.c @if errorlevel 1 goto quit %cc% ../fx_tetrion.c @if errorlevel 1 goto quit %cc% ../fx_transporter.c @if errorlevel 1 goto quit %cc% ../fx_grenade.c @if errorlevel 1 goto quit %cc% ../fx_quantum.c @if errorlevel 1 goto quit %cc% ../fx_stasis.c @if errorlevel 1 goto quit %cc% ../fx_item.c @if errorlevel 1 goto quit %cc% ../fx_dreadnought.c @if errorlevel 1 goto quit q3asm -f ../cgame -verbose goto done :quit echo Error!!! pause :done cd ..