@echo off
del arcade64.sym
del build\generated\resource\mamevers.rc
:start
del arcade64.exe
if exist arcade64.exe goto start
copy /Y src\mame\arcade.flt src\mame\arcade.bak
copy /Y src\mame\arcade.txt src\mame\arcade.flt
touch src\mame\arcade.flt
call make64 -j6 %1 %2 %3
copy /Y src\mame\arcade.bak src\mame\arcade.flt
copy /Y arcade64.exe arcade.exe
