+ifeq ($(WIN32RELEASE), 1)
+# TARGET=i686-pc-mingw32
+# CC=$(TARGET)-g++
+# WINDRES=$(TARGET)-windres
+ CPUOPTIMIZATIONS+=-march=i686 -DUSE_WSPIAPI_H
+ LDFLAGS_WINCOMMON+=-Wl,--large-address-aware
+endif
+
+ifeq ($(WIN64RELEASE), 1)
+# TARGET=x86_64-pc-mingw32
+# CC=$(TARGET)-g++
+# WINDRES=$(TARGET)-windres
+endif
+
+ifeq ($(D3D), 1)
+ CPUOPTIMIZATIONS+=-DSUPPORTD3D -DSUPPORTDIRECTX
+ CFLAGS_WARNINGS=-Wall
+ LDFLAGS_WINCOMMON=-ld3d9
+else
+ CFLAGS_WARNINGS=-Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
+ LDFLAGS_WINCOMMON=
+endif
+
+