1@echo off 2echo ---+++--- Building Ogg (Static) ---+++--- 3 4if .%SRCROOT%==. set SRCROOT=i:\xiph 5 6set OLDPATH=%PATH% 7set OLDINCLUDE=%INCLUDE% 8set OLDLIB=%LIB% 9 10call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat" 11echo Setting include paths for Ogg 12set INCLUDE=%INCLUDE%;%SRCROOT%\ogg\include 13echo Compiling... 14msdev ogg_static.dsp /useenv /make "ogg_static - Win32 Debug" /rebuild 15 16set PATH=%OLDPATH% 17set INCLUDE=%OLDINCLUDE% 18set LIB=%OLDLIB% 19