c-kzg-4844/bindings/csharp/Makefile

9 lines
235 B
Makefile

INCLUDE_DIRS = .. ../../src ../../inc
test: tests.cs ckzg.dll
mcs tests.cs -r:System.Numerics
./tests.exe
ckzg.dll: ckzg.c ../../src/c_kzg_4844.o ../../lib/libblst.a
clang -O -Wall -shared ${addprefix -I,${INCLUDE_DIRS}} -o $@ $^