forked from tanteikg/zkbdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
23 lines (15 loc) · 959 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LDFLAGS=-L$(shell brew --prefix)/opt/openssl@3/lib
CPPFLAGS=-I$(shell brew --prefix)/opt/openssl@3/include
TARGETS : zkboo_prove zkboo_verify zkbdf_eval zkbdf_verify zkbdf_verifyPseudo
zkboo_prove : zkboo_prove.c zkboo_shared.h
clang $(LDFLAGS) $(CPPFLAGS) -Wl -fopenmp zkboo_prove.c -o zkboo_prove -lssl -lcrypto
zkboo_verify : zkboo_verify.c zkboo_shared.h
clang $(LDFLAGS) $(CPPFLAGS) -Wl -fopenmp zkboo_verify.c -o zkboo_verify -lssl -lcrypto
zkbdf_eval : zkbdf_eval.c shared.h
clang $(LDFLAGS) $(CPPFLAGS) -Wl -fopenmp zkbdf_eval.c -o zkbdf_eval -lssl -lcrypto
zkbdf_verify : zkbdf_verify.c shared.h
clang $(LDFLAGS) $(CPPFLAGS) -Wl -fopenmp zkbdf_verify.c -o zkbdf_verify -lssl -lcrypto
zkbdf_verifyPseudo : zkbdf_verifyPseudo.c shared.h
clang $(LDFLAGS) $(CPPFLAGS) -Wl -fopenmp zkbdf_verifyPseudo.c -o zkbdf_verifyPseudo -lssl -lcrypto
clean :
rm zkboo_prove zkboo_verify zkbdf_eval zkbdf_verify zkbdf_verifyPseudo *.bin *.stackdump