#!/usr/bin/make -f

CPPFLAGS = -std=gnu++11 -I./src -I/usr/src/gtest
LDLIBS = $(shell pkg-config --libs mathicgb) -lpthread -ltbb
VPATH = src/test
CC = g++

OBJS = Range.o gtestInclude.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
