]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Make makefile runtest rule depend on all to be built
authorDale Weiler <killfieldengine@gmail.com>
Wed, 21 Nov 2012 20:27:41 +0000 (20:27 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 21 Nov 2012 20:27:41 +0000 (20:27 +0000)
Makefile

index aa5ef11f11b60b2f9955c596c60b522e78c4dde4..1c6acd21899e533c55c1de714e3d227aa4ecb97c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,12 +51,12 @@ gmqcc: $(OBJ_C) $(OBJ)
 
 test: $(OBJ_T)
        $(CC) -o $@ $^ $(CFLAGS)
-       
-runtests:
-       ./test
 
 all: gmqcc qcvm test
 
+runtests: all
+       ./test
+
 clean:
        rm -f *.o gmqcc qcvm test *.dat