@rem $Id: makewin32.bat,v 1.1.1.1 2002/08/26 23:17:59 vlads Exp $ @echo off if defined INCLUDE goto ok if not exist "C:\program files\microsoft visual studio\VC98\bin\vcvars32.bat" goto altloc1 call "C:\program files\microsoft visual studio\VC98\bin\vcvars32.bat" goto ok :altloc1 if not exist "C:\programs\microsoft visual studio\VC98\bin\vcvars32.bat" goto altloc2 call "C:\programs\microsoft visual studio\VC98\bin\vcvars32.bat" goto ok :altloc2 if not exist "C:\programs\msvs\VC98\bin\vcvars32.bat" goto altloc3 call "C:\programs\msvs\VC98\bin\vcvars32.bat" goto ok :altloc3 if not exist "D:\VS\VC98\bin\vcvars32.bat" goto runvc call "D:\VS\VC98\bin\vcvars32.bat" goto ok :ok if not defined INCLUDE goto runvc nmake -f makefile.win32 goto done :runvc echo You need to run the VCVARS32.BAT batch file. echo You'll find it in the Visual C++ binaries directory. echo Also, when installing Visual C++, you are asked if to automatically echo run this file when starting a command shell. goto done :done