Subversion Repositories f9daq

Rev

Rev 230 | Blame | Compare with Previous | Last modification | View Log | RSS feed

@echo off
set MPATH=%~dp0
rem set MPATH=%CD%

cd "\"
FOR /D %%x in ("Program Files*") do (
  cd /D %%x
  if exist "Microsoft SDKs\Windows\v7.1A\Include" set INCLUDE=%INCLUDE%;%CD%%%x\Microsoft SDKs\Windows\v7.1A\Include
  For /D %%G in ("Microsoft Visual Studio*") do set VC=%%x\%%G
  cd  "\"
)

echo call "%VC%\VC\vcvarsall.bat" x86
call "%VC%\VC\vcvarsall.bat" x86


cd "\"
FOR /D %%G IN ("root*") DO SET ROOTSYS=c:\%%G

echo ROOTSYS= "%ROOTSYS%"
echo INCLUDE="%INCLUDE%"

echo Visual C Development environment
echo nmake -f Makefile.win32
cd /D "%MPATH%"