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