Edit: See "Make" Commands tab.
I added CPPFLAGS="-DWINVER=0x0601" to define WINVER with the value 0x0601.
This will NOT work with all makefiles; but, should work with most well written ones.
Tim S.
The commands below are from a CB Project I created to build wxWidgets.
$make -f $makefile MONOLITHIC=0 SHARED=1 BUILD=debug CPPFLAGS="-DWINVER=0x0601"
$make -f $makefile MONOLITHIC=0 SHARED=1 BUILD=debug CPPFLAGS="-DWINVER=0x0601" $file