]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
fixes for progs.src
[xonotic/gmqcc.git] / Makefile
index 3e1d8ddfa287d9e23b72bc1ffc54cedb65606ced..f227d36cd4c08df63b55d245ce0314417929d287 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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