X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=makefile;h=32b30e4c28f9c4f7c9344642928c007ab642d9cc;hb=4108c0a580d0cb88188512f832f6b163cfa9edeb;hp=4112001b6370f745356c7d1a0303c3f3c81eeeec;hpb=a854130c17f1490cf5fb25650994c12d8c9ad0a7;p=xonotic%2Fdarkplaces.git diff --git a/makefile b/makefile index 4112001b..32b30e4c 100644 --- a/makefile +++ b/makefile @@ -3,7 +3,7 @@ ifndef DP_MAKE_TARGET # Win32 -ifdef windir +ifdef WINDIR DP_MAKE_TARGET=mingw else @@ -183,6 +183,14 @@ ifeq ($(DP_MAKE_TARGET), mingw) 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