enumerate-balanced-ideals/Makefile

31 lines
769 B
Makefile
Raw Permalink 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
OPTIONS=-m64 -march=native -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS)
2016-06-09 19:11:20 +00:00
2022-06-13 09:25:40 +00:00
all: enumerate 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
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
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:
2022-06-13 09:25:40 +00:00
rm -f enumerate graph thickenings.o weyl.o enumerate.o graph.o