@echo off
rem Build RioGamepadXP.sys for Windows XP (x86, free). Requires WDK 7.1.0.
rem Override WDK if installed elsewhere: set WDK=<path> before calling.
if "%WDK%"=="" set WDK=C:\WinDDK\WinDDK\7600.16385.win7_wdk.100208-1538
call %WDK%\bin\setenv.bat %WDK% fre x86 WXP no_oacr
cd /d %~dp0
build -cZ
