OBJ_A = test/ast-test.o
OBJ_I = test/ir-test.o
OBJ_C = main.o
+OBJ_X = exec.o util.o
#default is compiler only
default: gmqcc
$(CC) -o $@ $^ $(CFLAGS)
test_ir: $(OBJ_I) $(OBJ)
$(CC) -o $@ $^ $(CFLAGS)
+qcvm: $(OBJ_X)
+ $(CC) -o $@ $^ $(CFLAGS)
+exec.o: qcvm_execprogram.h
test: test_ast test_ir
# compiler target