enumerate-balanced-ideals/Makefile

37 lines
982 B
Makefile
Raw Normal View History

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
2017-11-28 14:38:20 +00:00
OPTIONS=-m64 -march=native -mtune=native -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS)
2016-06-09 19:11:20 +00:00
2018-03-28 08:43:23 +00:00
all: enumerate idealbounds graph
2016-06-09 19:11:20 +00:00
enumerate: enumerate.o weyl.o thickenings.o
gcc $(OPTIONS) -o enumerate enumerate.o thickenings.o weyl.o
2016-06-09 19:11:20 +00:00
2017-11-28 15:58:29 +00:00
idealbounds: idealbounds.o weyl.o
2017-11-28 15:59:17 +00:00
gcc $(OPTIONS) -o idealbounds idealbounds.o weyl.o
2017-11-28 15:58:29 +00:00
2018-03-28 08:43:23 +00:00
graph: graph.o weyl.o
gcc $(OPTIONS) -o graph graph.o weyl.o
enumerate.o: enumerate.c $(HEADERS)
gcc $(OPTIONS) -c enumerate.c
2016-07-26 08:09:34 +00:00
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
2017-11-28 15:58:29 +00:00
idealbounds.o: idealbounds.c $(HEADERS)
gcc $(OPTIONS) -c idealbounds.c
2018-03-28 08:43:23 +00:00
graph.o: graph.c $(HEADERS)
gcc $(OPTIONS) -c graph.c
2016-06-09 19:11:20 +00:00
clean:
2018-03-28 08:43:23 +00:00
rm -f enumerate idealbounds graph thickenings.o weyl.o enumerate.o idealbounds.o graph.o