]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Fix printing of floating poing values in -dumpfin.
[xonotic/gmqcc.git] / Makefile
index c9070d02b9d64f1e77e1f28cd54696e7eac32068..f227d36cd4c08df63b55d245ce0314417929d287 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 UNAME ?= $(shell uname)
 CYGWIN = $(findstring CYGWIN, $(UNAME))
-MINGW = $(findstring MINGW,  $(UNAME))
+MINGW = $(findstring MINGW, $(UNAME))
 
 ifneq ("$(CYGWIN)", "")
 WINDOWS=1
@@ -14,6 +14,8 @@ CXXFLAGS = \
        -std=c++11 \
        -Wall \
        -Wextra \
+       -Wno-parentheses \
+       -Wno-class-memaccess \
        -fno-exceptions \
        -fno-rtti \
        -MD \
@@ -61,7 +63,7 @@ VBIN = qcvm
 TBIN = testsuite
 else
 CBIN = gmqcc.exe
-CVIN = qcvm.exe
+VBIN = qcvm.exe
 endif
 
 ifndef WINDOWS
@@ -80,7 +82,7 @@ ifndef WINDOWS
 $(TBIN): $(TOBJS)
        $(CXX) $(TOBJS) -o $@
 
-test: $(TBIN)
+test: $(CBIN) $(VBIN) $(TBIN)
        @./$(TBIN)
 endif