First Commit of my working state
[simh.git] / build_mingw.bat
CommitLineData
196ba1fc
PH
1@echo off\r
2rem Compile all of SIMH using MINGW make and gcc environment\r
3rem Individual simulator sources are in .\simulator_name\r
4rem Individual simulator executables are to .\bin\r
5rem\r
6rem If needed, define the path for the MINGW bin directory.\r
7rem (this should already be set if MINGW was installed correctly)\r
8rem\r
9gcc -v 1>NUL 2>NUL\r
10if ERRORLEVEL 1 path C:\MinGW\bin;%path%\r
11if not exist BIN mkdir BIN\r
12gcc -v 1>NUL 2>NUL\r
13if ERRORLEVEL 1 echo "MinGW Environment Unavailable"\r
14mingw32-make WIN32=1 -f makefile %1 %2 %3 %4\r