ifndef DP_MAKE_TARGET
# Win32
-ifdef windir
+ifdef WINDIR
DP_MAKE_TARGET=mingw
else
endif
ifeq ($(WIN32RELEASE), 1)
- CPUOPTIMIZATIONS="-march=i686 -DSUPPORTDIRECTX -DUSE_WSPIAPI_H"
+ CPUOPTIMIZATIONS=-march=i686 -DSUPPORTDIRECTX -DUSE_WSPIAPI_H
+endif
+
+ifeq ($(WIN64RELEASE), 1)
+ CPUOPTIMIZATIONS=
endif
##### Sound configuration #####