cls
if .%1 == .--borland goto :borland
if .%1 == .--msvc goto :msvc
+if .%1 == .--watcom goto :watcom
if not .%BORPATH% == . goto :borland
if not .%1 == . goto :usage
echo Type MAKE to start compiling.
goto :end
+:watcom
+copy windows\config.h.ms src\config.h > nul
+copy windows\Makefile.watcom src\Makefile > nul
+
+@echo Checking environment vars
+@set INCLUDE | find /I "WATCOM"
+@set LIB | find /I "WATCOM"
+@echo If WATCOM directories were not displayed, you need to
+@echo SET INCLUDE and SET LIB to the Watcom directories
+@echo.
+cd src
+@echo Type WMAKE to build
+goto :end
+
:usage
-echo Usage: Configure [--borland | --msvc]
+echo Usage: Configure [--borland | --msvc | --watcom]
:end