mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-01-03 13:43:06 +00:00
* Implement github workflow for natively building the witness generator in linux, windows and macos. * Add release publishing.
18 lines
370 B
Makefile
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
|