Initial commit

This commit is contained in:
Phireh 2025-01-06 19:39:32 +01:00
commit f30f7a6449
10 changed files with 1126 additions and 0 deletions

8
Makefile Normal file
View file

@ -0,0 +1,8 @@
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