enumerate-balanced-ideals/Makefile

31 lines
843 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
2017-11-28 15:58:29 +00:00
all: enumerate idealbounds
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
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
2016-06-09 19:11:20 +00:00
clean:
2017-11-28 15:58:29 +00:00
rm -f enumerate idealbounds thickenings.o weyl.o enumerate.o idealbounds.o