enumerate-balanced-ideals/Makefile

31 lines
798 B
Makefile
Raw Normal View History

2016-11-20 22:19:08 +00:00
HEADERS=weyl.h thickenings.h queue.h bitvec.h
SPECIAL_OPTIONS=-O0 -g
#SPECIAL_OPTIONS=-O3 -pg -funroll-loops -fno-inline
#SPECIAL_OPTIONS=-O3 -flto -funroll-loops -Winline
OPTIONS=-m64 -march=native -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS)
2016-06-09 19:11:20 +00:00
2016-10-14 16:49:20 +00:00
all: generate process
2016-06-09 19:11:20 +00:00
2016-11-20 22:19:08 +00:00
generate: generate.o weyl.o thickenings.o
gcc $(OPTIONS) -o generate generate.o thickenings.o weyl.o
2016-06-09 19:11:20 +00:00
2016-11-20 22:19:08 +00:00
process: process.o weyl.o thickenings.o
gcc $(OPTIONS) -o process process.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
process.o: process.c $(HEADERS)
gcc $(OPTIONS) -c process.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:
2016-11-20 22:19:08 +00:00
rm -f generate process thickenings.o weyl.o generate.o process.o