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
6 rem If needed, define the path for the MINGW bin directory.
7 rem (this should already be set if MINGW was installed correctly)
10 if ERRORLEVEL 1 path C
:\MinGW
\bin
;%path%
11 if not exist BIN
mkdir BIN
13 if ERRORLEVEL 1 echo "MinGW Environment Unavailable"
14 mingw32
-make WIN32
=1 -f makefile
%1 %2 %3 %4