]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Fixing main.c shadows
[xonotic/gmqcc.git] / Makefile
index 89168d76aa7fa5c8142e3924794d421bb11a46fd..94b8b0b417f27886181ae78126cb159965816254 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,8 +28,9 @@ OBJ     =             \
           code.o      \
           ast.o       \
           ir.o        \
-          con.o
-          
+          con.o       \
+          ftepp.o
+
 OBJ_T = test.o util.o con.o
 OBJ_C = main.o lexer.o parser.o
 OBJ_X = exec-standalone.o util.o con.o
@@ -48,16 +49,16 @@ qcvm: $(OBJ_X)
 gmqcc: $(OBJ_C) $(OBJ)
        $(CC) -o $@ $^ $(CFLAGS)
 
-test: $(OBJ_T)
+testsuite: $(OBJ_T)
        $(CC) -o $@ $^ $(CFLAGS)
-       
-runtests:
-       ./test
 
-all: gmqcc qcvm test
+all: gmqcc qcvm testsuite
+
+check: all
+       ./testsuite
 
 clean:
-       rm -f *.o gmqcc qcvm test *.dat
+       rm -f *.o gmqcc qcvm testsuite *.dat
 
 
 $(OBJ) $(OBJ_C) $(OBJ_X): gmqcc.h