make blst now works

This commit is contained in:
dancoffman 2022-11-03 23:38:17 -07:00
parent 09d84058a8
commit be0f51bd7e
No known key found for this signature in database
GPG Key ID: 47B1F53E36A9B3CC
1 changed files with 5 additions and 4 deletions

View File

@ -2,12 +2,13 @@ INCLUDE_DIRS = ../inc
CFLAGS += -O2
blst:
../blst/build.sh
cp ../blst/libblst.a ../lib
cp ../blst/bindings/*.h ../inc
cd ../blst; \
./build.sh && \
cp libblst.a ../lib && \
cp bindings/*.h ../inc
c_kzg_4844.o: c_kzg_4844.c sha256.c Makefile
clang -Wall -I$(INCLUDE_DIRS) $(CFLAGS) -c c_kzg_4844.c sha256.c
lib: c_kzg_4844.o Makefile
mv *.o ../bindings/node.js
cp *.o ../bindings/node.js