]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Add CMakeLists.txt
[xonotic/gmqcc.git] / Makefile
index c9070d02b9d64f1e77e1f28cd54696e7eac32068..3566bdc99d15c1d12c1f12ec5eaf82b801c49706 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
@@ -61,7 +61,7 @@ VBIN = qcvm
 TBIN = testsuite
 else
 CBIN = gmqcc.exe
-CVIN = qcvm.exe
+VBIN = qcvm.exe
 endif
 
 ifndef WINDOWS
@@ -80,7 +80,7 @@ ifndef WINDOWS
 $(TBIN): $(TOBJS)
        $(CXX) $(TOBJS) -o $@
 
-test: $(TBIN)
+test: $(CBIN) $(VBIN) $(TBIN)
        @./$(TBIN)
 endif