Subversion Repositories f9daq

Rev

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

  1. @echo off
  2. set MPATH=%~dp0
  3. rem set MPATH=%CD%
  4.  
  5. cd "\"
  6. FOR /D %%x in ("Program Files*") do (
  7.   cd /D %%x
  8.   if exist "Microsoft SDKs\Windows\v7.1A\Include" set INCLUDE=%INCLUDE%;%CD%%%x\Microsoft SDKs\Windows\v7.1A\Include
  9.   For /D %%G in ("Microsoft Visual Studio*") do set VC=%%x\%%G
  10.   cd  "\"
  11. )
  12.  
  13. echo call "%VC%\VC\vcvarsall.bat" x86
  14. call "%VC%\VC\vcvarsall.bat" x86
  15.  
  16.  
  17. cd "\"
  18. FOR /D %%G IN ("root*") DO SET ROOTSYS=c:\%%G
  19.  
  20. echo ROOTSYS= "%ROOTSYS%"
  21. echo INCLUDE="%INCLUDE%"
  22.  
  23. echo Visual C Development environment
  24. echo nmake -f Makefile.win32
  25. cd /D "%MPATH%"