#!/usr/bin/make -f

CPPFLAGS = -I./src
LDLIBS = $(shell pkg-config --libs mathicgb) -ltbb -lgtest
VPATH = src/test
CC = g++

OBJS = Range.o testMain.o gb-test.o ideals.o poly-test.o                \
  ideals.hpp SparseMatrix.o QuadMatrixBuilder.o F4MatrixBuilder.o       \
  F4MatrixReducer.o mathicgb.o PrimeField.o MonoMonoid.o Scanner.o MathicIO.o

all: testMain
	./testMain
	@exit $$?

testMain: $(OBJS)

clean:
	rm -f testMain *.o
