@echo on

setlocal

rem Set some compiler specific options
set MSC=p:/Tools/msc7.00/Vc7/
set WATCOM=p:/Tools/WCC/v11.0/

set TMP=%CCM_WORK_AREA%
call getpath.bat .
set CURRENT_DIR=%CWD%
cd ..
call %CURRENT_DIR%\getpath.bat .
set CCM_WORK_AREA=%CWD%
cd %CURRENT_DIR%

rem add path to some dll files in the MS compiler
set PATH=%PATH%;.;%MSC%../Common7/IDE;%MSC%../SDK/v1.1/Bin/

c:\cygwin\bin\bash mk-cai-all

endlocal