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 CFLAGS += -O2
blst: blst:
../blst/build.sh cd ../blst; \
cp ../blst/libblst.a ../lib ./build.sh && \
cp ../blst/bindings/*.h ../inc cp libblst.a ../lib && \
cp bindings/*.h ../inc
c_kzg_4844.o: c_kzg_4844.c sha256.c Makefile c_kzg_4844.o: c_kzg_4844.c sha256.c Makefile
clang -Wall -I$(INCLUDE_DIRS) $(CFLAGS) -c c_kzg_4844.c sha256.c clang -Wall -I$(INCLUDE_DIRS) $(CFLAGS) -c c_kzg_4844.c sha256.c
lib: c_kzg_4844.o Makefile lib: c_kzg_4844.o Makefile
mv *.o ../bindings/node.js cp *.o ../bindings/node.js