From be0f51bd7efa58d657a46b6d3a110bbaa9cf9ab3 Mon Sep 17 00:00:00 2001 From: dancoffman Date: Thu, 3 Nov 2022 23:38:17 -0700 Subject: [PATCH] make blst now works --- src/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index 66d4357..5e87abc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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