forked from aucrypto/rinocchio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (20 loc) · 805 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (20 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
OUTDIR = out
build: joye_libert rinocchio
test: joye_libert
./$(OUTDIR)/jltest
run: rinocchio
./$(OUTDIR)/rinocchio
runinv: invertible
./$(OUTDIR)/invertible
runint: interpolate
./$(OUTDIR)/interpolate
joye_libert: | out
g++ -O2 -std=c++11 -I./include test/joye_libert_test.cpp src/*.cpp -o $(OUTDIR)/jltest -pthread -lntl -lgmp -lm
rinocchio: | out
g++ -O2 -std=c++11 -I./include test/rinocchio_test.cpp src/*.cpp -o $(OUTDIR)/rinocchio -pthread -lntl -lgmp -lm
invertible: | out
g++ -O2 -std=c++11 -I./include test/invertible_test.cpp src/*.cpp -o $(OUTDIR)/invertible -pthread -lntl -lgmp -lm
interpolate: | out
g++ -O2 -std=c++11 -I./include test/interpolate_test.cpp src/*.cpp -o $(OUTDIR)/interpolate -pthread -lntl -lgmp -lm
out:
mkdir -p $(OUTDIR)