]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - makefile
clean up field offset handling a bit, now uses vec_t instead of float,
[xonotic/darkplaces.git] / makefile
index 1c8954f05b21c7945939e9de1ba0f32ead7e183b..e6c048a030ddcc2ac5d62e0a4c83b307a7a9a926 100644 (file)
--- a/makefile
+++ b/makefile
@@ -181,11 +181,10 @@ ifeq ($(DP_MAKE_TARGET), mingw)
        EXE_CLNEXUIZ=$(EXE_WINCLNEXUIZ)
        EXE_SVNEXUIZ=$(EXE_WINSVNEXUIZ)
        EXE_SDLNEXUIZ=$(EXE_WINSDLNEXUIZ)
+endif
 
-       if ($(WIN32RELEASE))
-               CPUOPTIMIZATIONS=-march=i686
-               CFLAGS_RELEASE="-DSUPPORTDIRECTX -DUSE_WSPIAPI_H"
-       fi
+ifeq ($(WIN32RELEASE), 1)
+       CPUOPTIMIZATIONS=-march=i686 -DSUPPORTDIRECTX -DUSE_WSPIAPI_H
 endif
 
 ##### Sound configuration #####