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

copy Source\*.* \dev\temp /y
\dev\tools\rc\rc \dev\temp\LineSpec.rc
\dev\tools\fasmc \dev\temp\LineSpec.fasm \dev\temp\tmp_lsd1.dll
\dev\tools\PostVFix.exe \dev\temp\tmp_lsd1.dll \dev\temp\tmp_lsd2.dll
\dev\tools\upx --best \dev\temp\tmp_lsd2.dll
copy \dev\temp\tmp_lsd2.dll linespec.dll /y

copy Source\Meassure\*.* \dev\temp /y
\dev\tools\rc\rc \dev\temp\LineSpec.rc
\dev\tools\fasmc \dev\temp\LineSpec.fasm \dev\temp\tmp_lsd1.dll
\dev\tools\PostVFix.exe \dev\temp\tmp_lsd1.dll \dev\temp\tmp_lsd2.dll
\dev\tools\upx --best \dev\temp\tmp_lsd2.dll
copy \dev\temp\tmp_lsd2.dll "linespec (SpeedMeasure).dll" /y
copy \dev\temp\LineSpec.res "source\LineSpec.res" /y

