7 REM Need to set a path to a directory that is relative to this batch file.
\r
8 REM use pathenv to output a simple batch file that resolves the relative
\r
9 REM path name into a full path name. Run that batch file to set the
\r
10 REM environment variable (the variable to be set is in the pathenv param list)
\r
12 bin\pathenv temp.bat MSDevDir msdev60
\r
16 if "%OS%" == "Windows_NT" set PATH=%MSDevDir%\BIN;%MASMDir%\BIN;%MSDevDir%\BIN\%VcOsDir%;%PATH%
\r
17 if "%OS%" == "" set PATH="%MSDevDir%\BIN";%MASMDir%\BIN;"%MSDevDir%\BIN\%VcOsDir%";"%PATH%"
\r
18 set INCLUDE=%DXDir%\sdk\inc;%MSDevDir%\INCLUDE;%MSDevDir%\MFC\INCLUDE;%INCLUDE%
\r
19 set LIB=%DXDir%\sdk\lib;%MSDevDir%\LIB;%MSDevDir%\MFC\LIB;%LIB%
\r
28 rem .\bin\redirect -o stdout.log -e stderr.log .\bin\nmake /f art.mak
\r
29 rem if errorlevel 1 goto fail
\r
31 nmake -f TPack.mak CFG="TPack - Win32 Debug" >> tpackd.txt
\r
32 nmake -f TPack.mak CFG="TPack - Win32 Release" >> tpackr.txt
\r
34 if not exist .\release\tpack.exe goto fail
\r
35 if not exist .\debug\tpack.exe goto fail
\r
37 if [%1] == [] goto end
\r
42 if [%1] == [] goto end
\r