Makefile 399 Bytes
Newer Older
Michael Meyer's avatar
Michael Meyer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all:
	@gcc \
		-Wall -Wextra \
		-O0 -funroll-loops \
		rng.c \
		u512.s fp.s \
		mont.c \
		csidh.c \
		main.c \
		-o main

debug:
	gcc \
		-Wall -Wextra \
		-g \
		rng.c \
		u512.s fp.s \
		mont.c \
		csidh.c \
		main.c \
		-o main

Fabio Campos's avatar
Fabio Campos committed
23
24
25
26
27
28
29
30
31
32
33
34

bench:
	@gcc \
		-Wall -Wextra \
		-O3 -funroll-loops \
		rng.c \
		u512.s fp.s \
		mont.c \
		csidh.c \
		bench.c \
		-o bench	

Michael Meyer's avatar
Michael Meyer committed
35
36
clean:
	rm -f main
Fabio Campos's avatar
Fabio Campos committed
37
	rm -f bench
Michael Meyer's avatar
Michael Meyer committed
38