2016-11-20 22:19:08 +00:00
|
|
|
HEADERS=weyl.h thickenings.h queue.h bitvec.h
|
|
|
|
|
2016-11-23 19:58:05 +00:00
|
|
|
#SPECIAL_OPTIONS=-O0 -g -D_DEBUG
|
2016-11-20 22:19:08 +00:00
|
|
|
#SPECIAL_OPTIONS=-O3 -pg -funroll-loops -fno-inline
|
2016-11-23 19:58:05 +00:00
|
|
|
SPECIAL_OPTIONS=-O3 -flto -funroll-loops -Winline
|
2016-11-20 22:19:08 +00:00
|
|
|
|
|
|
|
OPTIONS=-m64 -march=native -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS)
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2017-01-27 19:48:44 +00:00
|
|
|
all: enumerate
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2017-01-27 19:48:44 +00:00
|
|
|
enumerate: generate.o weyl.o thickenings.o
|
2016-11-20 22:19:08 +00:00
|
|
|
gcc $(OPTIONS) -o generate generate.o thickenings.o weyl.o
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2016-07-26 08:09:34 +00:00
|
|
|
generate.o: generate.c $(HEADERS)
|
|
|
|
gcc $(OPTIONS) -c generate.c
|
|
|
|
|
|
|
|
thickenings.o: thickenings.c $(HEADERS)
|
|
|
|
gcc $(OPTIONS) -c thickenings.c
|
|
|
|
|
2016-11-20 22:19:08 +00:00
|
|
|
weyl.o: weyl.c $(HEADERS)
|
|
|
|
gcc $(OPTIONS) -c weyl.c
|
2016-06-09 19:11:20 +00:00
|
|
|
|
|
|
|
clean:
|
2017-01-27 19:48:44 +00:00
|
|
|
rm -f generate thickenings.o weyl.o generate.o
|