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