Álex 75a0da2036
ci: Prover (#81)
* Add rapidsnark as submodule.
* Implement prover and verifier building for linux, windows and macos.
2025-08-05 15:44:18 +02:00

18 lines
370 B
Makefile

CC = g++
CFLAGS = -std=c++11 -O3 -I. -I/include -Duint="unsigned int"
LDFLAGS = -L/lib -lgmp -lmman
DEPS_HPP = circom.hpp calcwit.hpp fr.hpp pol.cpp
DEPS_O = main.o calcwit.o fr.o pol.o
all: pol.exe
%.o: %.cpp $(DEPS_HPP)
$(CC) -Wno-address-of-packed-member -c $< $(CFLAGS) -o $@
pol.exe: $(DEPS_O)
$(CC) -o pol.exe $(DEPS_O) $(LDFLAGS)
clean:
rm -f *.o pol.exe