@echo off
\dev\tools\deltree /y d:\dev\temp\tmp_*.* >nul
cd \dev\software\libraries\ctsslay

start /w \dev\tools\runpb402 "ctSSLayer_FmodEx_Calaym.pb"  /resource "ctSSLayer_FmodEx_Calaym.rc"  /exe "D:\dev\temp\tmp_caly.dll" /quiet /dll

\dev\tools\PostVFix \dev\temp\tmp_caly.dll \dev\temp\tmp_caly.lay
\dev\tools\upx -qqq --best --compress-icons=0 \dev\temp\tmp_caly.lay
\dev\tools\copytovb \dev\temp\tmp_caly.lay
REM \dev\tools\deltree /y d:\dev\temp\tmp_*.* >nul
echo Done.