enumerate-balanced-ideals/Makefile
2016-11-20 23:19:08 +01:00

31 lines
798 B
Makefile

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)
all: generate process
generate: generate.o weyl.o thickenings.o
gcc $(OPTIONS) -o generate generate.o thickenings.o weyl.o
process: process.o weyl.o thickenings.o
gcc $(OPTIONS) -o process process.o thickenings.o weyl.o
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
weyl.o: weyl.c $(HEADERS)
gcc $(OPTIONS) -c weyl.c
clean:
rm -f generate process thickenings.o weyl.o generate.o process.o