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