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