-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
22 lines (15 loc) · 978 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
compiler=gcc
flags=-std=gnu11 -march=native -Wall -Wno-missing-braces
# The 64-bit version of this program is faster but only supports graphs up to 64 vertices.
64bit: findFrankNumber.c readGraph/readGraph6.c bitset.h
$(compiler) -DUSE_64_BIT -o findFrankNumber findFrankNumber.c readGraph/readGraph6.c $(flags) -O3
128bit: findFrankNumber.c readGraph/readGraph6.c bitset.h
$(compiler) -DUSE_128_BIT -o findFrankNumber-128 findFrankNumber.c readGraph/readGraph6.c $(flags) -O3
128bitarray: findFrankNumber.c readGraph/readGraph6.c bitset.h
$(compiler) -DUSE_128_BIT_ARRAY -o findFrankNumber-128a findFrankNumber.c readGraph/readGraph6.c $(flags) -O3
profile: findFrankNumber.c readGraph/readGraph6.c bitset.h
$(compiler) -DUSE_64_BIT -o findFrankNumber-pr findFrankNumber.c readGraph/readGraph6.c $(flags) $(densenauty32) -g -pg
all: 64bit 128bit 128bitarray
.PHONY: clean
clean:
rm -f findFrankNumber findFrankNumber-128 findFrankNumber-128a findFrankNumber-pr