CUR_REL_PATH := iris/share_lib/tests

include ../../shared/config.mk

TESTS = test_sizes test_product_inv test_product_inv2
OBJS = $(patsubst %,%.o,$(TESTS))
DEPS = $(patsubst %.o,%.d,$(OBJS))

PRE_CPPFLAGS += -I../../include -I../
PRE_LDFLAGS += -L../../lib
LDFLAGS += -lboost_unit_test_framework
LDLIBS += -lshare -lmisc -luser

LINK.o = $(LINK.C)

test_sizes: test_sizes.o

all:  $(TESTS)

clean:
	rm -f core *.o *~ *.d $(TESTS)

install: 

test: $(TESTS)
	./test_sizes
	./test_product_inv
	./test_product_inv2

uninstall:

$(OBJS): Makefile

-include $(DEPS)
