]> sjero.net Git - wget/blobdiff - configure.bat.in
[svn] Support for MINGW compilation.
[wget] / configure.bat.in
index 1a717bf9460ab269146eaea903a9748adffeb536..0c5b4cf84a408cb924607ffb8ceb525925eeec0b 100644 (file)
@@ -28,6 +28,7 @@ rem so, delete this exception statement from your version.
 
 cls
 if .%1 == .--borland goto :borland
+if .%1 == .--mingw goto :mingw
 if .%1 == .--msvc goto :msvc
 if .%1 == .--watcom goto :watcom
 goto :usage
@@ -52,6 +53,15 @@ copy windows\Makefile.doc doc\Makefile > nul
 echo Type MAKE to start compiling.
 goto :end
 
+:mingw
+copy windows\config.h.mingw src\config.h > nul
+copy windows\Makefile.top.mingw Makefile > nul
+copy windows\Makefile.src.mingw src\Makefile > nul
+copy windows\Makefile.doc doc\Makefile > nul
+
+echo Type mingw32-make to start compiling.
+goto :end
+
 :watcom
 copy windows\config.h.ms src\config.h > nul
 copy windows\Makefile.watcom src\Makefile > nul
@@ -67,5 +77,5 @@ cd src
 goto :end
 
 :usage
-echo "Usage: configure [--borland | --msvc | --watcom]"
+echo "Usage: configure [--borland | --mingw | --msvc | --watcom]"
 :end