X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=3566bdc99d15c1d12c1f12ec5eaf82b801c49706;hb=e920766b10ebed3fc7fad0373aab6dde507e2341;hp=c9070d02b9d64f1e77e1f28cd54696e7eac32068;hpb=5d8c18dcab931a740b6696811b889077aae2d15a;p=xonotic%2Fgmqcc.git diff --git a/Makefile b/Makefile index c9070d0..3566bdc 100644 --- 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