IHCT_CFLAGS=-Wall -Wextra -Wpedantic -Wfatal-errors -std=gnu99 -fPIC -shared
TEST_CFLAGS=-Wall -Wextra -Wpedantic -Wfatal-errors -DIHCT_SHORT -L./ -Wl,-rpath ./

tests: tests.c list.h libihct.so
	gcc $(TEST_CFLAGS) tests.c -lihct -o tests

libihct.so: ihct/vector.c ihct/ihct.c
	gcc $(IHCT_CFLAGS) $^ -o libihct.so
