anchor.diff:  @MD %abi%
   @set dxtn=gcc -shared
   @if %abi%==x86 set dxtn=%dxtn% -m32
  -@set dxtn=%dxtn% -v *.c *.h -I ..\mesa\include -Wl,--dll,--dynamicbase,--enable-auto-image-base,--nxcompat -o %abi%\dxtn.dll
  +@set dxtn=%dxtn% -v *.c *.h -I ../mesa/include -Wl,--dll,--dynamicbase,--enable-auto-image-base,--nxcompat -o %abi%/dxtn.dll
   @echo.
   @%dxtn%
   @echo.
  
positive.code: @RD /S /Q %abi%
  @RD /S /Q cmake-%abi%
  @md cmake-%abi%
  @cd cmake-%abi% 
  @cmake -G "%toolchain%" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_RTTI=1 -DLLVM_USE_CRT_RELEASE=MT -DLLVM_ENABLE_TERMINFO=OFF -DCMAKE_INSTALL_PREFIX=%mesaunix%llvm/%abi% ..
  @pause
  @msbuild /p:Configuration=Release INSTALL.vcxproj
  @pause
  
negative.code: :build_mesa
  @set /p buildmesa=Begin mesa build. Proceed (y/n):
  @if /i NOT %buildmesa%==y GOTO exit
  @set LLVM=%mesa%llvm/%abi%
  @cd %mesa%mesa
  @set mingw=n
  @rem if EXIST "%gcc%" set /p mingw=Do you want to build with MinGW-W64 instead of Visual Studio? (y=yes):
  @set buildmingw=
  @if /i %mingw%==y (
  @set buildmingw=toolchain=crossmingw
  @mklink /H "%gcc%/%altabi%-w64-mingw32-ar.exe" "%gcc%/ar.exe"
  @mklink /H "%gcc%/%altabi%-w64-mingw32-ranlib.exe" "%gcc%/ranlib.exe"
  )
  @if /i NOT %mingw%==y (
  @if NOT %vsenvloaded==1 (
  @call "%vsenv%"
  )
  )
  @set /p openswr=Do you want to build OpenSWR drivers? (y=yes):
  @set buildswr=
  @if /i %openswr%==y @set buildswr=swr=1
  