SET COPYCMD=/Y
if exist TextSweep.exe (
del TextSweep.exe
)
if exist build\ (
rmdir build\
)
mkdir build\
mkdir build\textsweep\
call xcopy scriptlibs C:\Tcl\lib\ /s /i /y
call xcopy winlibs C:\Tcl\lib\ /s /i /y
call xcopy C:\Strawberry\c\bin\*.dll build\textsweep\ /s /i /y
call xcopy C:\Tcl\bin\*.dll build\textsweep\ /s /i /y
call xcopy C:\Tcl\lib build\lib /s /i /y
call xcopy C:\Tcl\bin build\bin /s /i /y
call windres icons.rc -o coff -o icons.o
call windres versioninfo.rc -o coff -o versioninfo.o
set tcldir="C:\Tcl"
call buildexe %tcldir%
call xcopy TextSweep.exe build\textsweep\
call xcopy textsweep.tcl build\textsweep\