X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=configure.bat;fp=configure.bat;h=9864659aec5ea362608c841656cbe2a0b5dcdf85;hp=4d19629f816c99d3bb4e9c6613a1fe1fe768a3f1;hb=33c0e509e0d7b3e714603e9e90e24c449d48c1d3;hpb=a92b46f8aef7251861555f4a044db1c70ac1f446 diff --git a/configure.bat b/configure.bat index 4d19629f..9864659a 100644 --- a/configure.bat +++ b/configure.bat @@ -19,6 +19,7 @@ rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 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 @@ -42,6 +43,20 @@ copy windows\Makefile.doc doc\Makefile > nul 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