Fix references to min-src

This commit is contained in:
Ramana Kumar 2022-11-01 14:28:51 +00:00
parent 434c9ae9b9
commit 37e9be5705
No known key found for this signature in database
GPG Key ID: ED471C788B900433
2 changed files with 4 additions and 4 deletions

View File

@ -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 $@ $^

View File

@ -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 $@ $^