1REM $Id: makewin32.bat,v 1.2 2001/12/16 11:11:52 shadrack Exp $ 2@echo off 3 4REM Comments, bugs go to johan@linkdata.se 5REM Mail me on how to run the command line compiler, and I'll flame you. RTFM. 6 7if defined INCLUDE goto ok 8if not exist "\program files\microsoft visual studio\VC98\bin\vcvars32.bat" goto altloc1 9call "\program files\microsoft visual studio\VC98\bin\vcvars32.bat" 10goto ok 11 12:altloc1 13if not exist "\programs\microsoft visual studio\VC98\bin\vcvars32.bat" goto altloc2 14call "\programs\microsoft visual studio\VC98\bin\vcvars32.bat" 15goto ok 16 17:altloc2 18if not exist "\programs\msvs\VC98\bin\vcvars32.bat" goto runvc 19call "\programs\msvs\VC98\bin\vcvars32.bat" 20goto ok 21 22:ok 23if not defined INCLUDE goto runvc 24if not exist config.h copy config.h.win32 config.h 25nmake DEBUG=1 -f makefile.win32 26nmake -f makefile.win32 27goto done 28 29:runvc 30echo You need to run the VCVARS32.BAT batch file. 31echo You'll find it in the Visual C++ binaries directory. 32echo Also, when installing Visual C++, you are asked if to automatically 33echo run this file when starting a command shell. 34 35:done 36