make blst now works
This commit is contained in:
parent
09d84058a8
commit
be0f51bd7e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue