Initial commit
This commit is contained in:
commit
f30f7a6449
10 changed files with 1126 additions and 0 deletions
8
Makefile
Normal file
8
Makefile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue