]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - makefile
fix a typo in the last commit
[xonotic/darkplaces.git] / makefile
index 184029d9e625d4edd1a8b4baa2ed4b5016c424bb..32b30e4c28f9c4f7c9344642928c007ab642d9cc 100644 (file)
--- a/makefile
+++ b/makefile
@@ -3,7 +3,7 @@
 ifndef DP_MAKE_TARGET
 
 # Win32
-ifdef windir
+ifdef WINDIR
        DP_MAKE_TARGET=mingw
 else
 
@@ -184,8 +184,11 @@ ifeq ($(DP_MAKE_TARGET), mingw)
 endif
 
 ifeq ($(WIN32RELEASE), 1)
-       CPUOPTIMIZATIONS=-march=i686
-       CFLAGS_RELEASE="-DSUPPORTDIRECTX -DUSE_WSPIAPI_H"
+       CPUOPTIMIZATIONS=-march=i686 -DSUPPORTDIRECTX -DUSE_WSPIAPI_H
+endif
+
+ifeq ($(WIN64RELEASE), 1)
+       CPUOPTIMIZATIONS=
 endif
 
 ##### Sound configuration #####