9 lines
235 B
Makefile
Raw Normal View History

2022-11-01 14:28:51 +00:00
INCLUDE_DIRS = .. ../../src ../../inc
2022-10-01 18:03:52 +01:00
2022-10-04 19:45:12 +01:00
test: tests.cs ckzg.dll
2022-10-04 22:40:18 +01:00
mcs tests.cs -r:System.Numerics
2022-10-04 19:45:12 +01:00
./tests.exe
2022-10-01 18:03:52 +01:00
2022-11-01 14:28:51 +00:00
ckzg.dll: ckzg.c ../../src/c_kzg_4844.o ../../lib/libblst.a
2022-10-04 19:45:12 +01:00
clang -O -Wall -shared ${addprefix -I,${INCLUDE_DIRS}} -o $@ $^