Fix references to min-src
This commit is contained in:
parent
434c9ae9b9
commit
37e9be5705
|
@ -1,8 +1,8 @@
|
|||
INCLUDE_DIRS = .. ../../min-src ../../inc
|
||||
INCLUDE_DIRS = .. ../../src ../../inc
|
||||
|
||||
test: tests.cs ckzg.dll
|
||||
mcs tests.cs -r:System.Numerics
|
||||
./tests.exe
|
||||
|
||||
ckzg.dll: ckzg.c ../../min-src/c_kzg_4844.o ../../lib/libblst.a
|
||||
ckzg.dll: ckzg.c ../../src/c_kzg_4844.o ../../lib/libblst.a
|
||||
clang -O -Wall -shared ${addprefix -I,${INCLUDE_DIRS}} -o $@ $^
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
INCLUDE_DIRS = .. ../../min-src ../../inc
|
||||
INCLUDE_DIRS = .. ../../src ../../inc
|
||||
INCLUDE_PY = $(shell python -c 'import sysconfig; print(sysconfig.get_config_var("INCLUDEPY"))')
|
||||
|
||||
.PHONY: all
|
||||
|
@ -14,5 +14,5 @@ ecc_test: py_ecc_tests.py ckzg.so
|
|||
libblst.a: ../../lib/libblst.a
|
||||
objcopy --globalize-symbol=sha256_init --globalize-symbol=sha256_update --globalize-symbol=sha256_final $< $@
|
||||
|
||||
ckzg.so: ckzg.c ../../min-src/c_kzg_4844.o libblst.a
|
||||
ckzg.so: ckzg.c ../../src/c_kzg_4844.o libblst.a
|
||||
clang -O -Wall -shared -fPIC -Wl,-Bsymbolic -I${INCLUDE_PY} ${addprefix -I,${INCLUDE_DIRS}} -o $@ $^
|
||||
|
|
Loading…
Reference in New Issue