triangle_reflection_complex/Makefile

37 lines
1.1 KiB
Makefile
Raw Permalink Normal View History

HEADERS=mat.h coxeter.h enumerate.h generators.h qext.h
2022-06-14 13:41:43 +00:00
#SPECIAL_OPTIONS=-O0 -g -D_DEBUG -DQEXT
#SPECIAL_OPTIONS=-O3 -pg -g -funroll-loops -fno-inline
2022-06-14 13:41:43 +00:00
SPECIAL_OPTIONS=-O3 -flto -funroll-loops -Winline -DQEXT
2021-10-01 18:36:56 +00:00
#SPECIAL_OPTIONS=-O3 -flto -funroll-loops -Winline -mavx512f -mavx512cd -mavx512er -mavx512pf # KNL
#SPECIAL_OPTIONS=
2021-10-01 18:36:56 +00:00
OPTIONS=-I../mps/include -L../mps/lib -pthread -m64 -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS)
CC=gcc
all: complex_anosov
complex_anosov: complex_anosov.o mat.o coxeter.o enumerate.o generators.o qext.o
2022-06-15 13:27:08 +00:00
$(CC) $(OPTIONS) -o complex_anosov complex_anosov.o mat.o coxeter.o enumerate.o generators.o qext.o -lgmp -lmps -lm
2021-10-01 18:36:56 +00:00
complex_anosov.o: complex_anosov.c $(HEADERS)
gcc $(OPTIONS) -c complex_anosov.c
enumerate.o: enumerate.c $(HEADERS)
gcc $(OPTIONS) -c enumerate.c
generators.o: generators.c $(HEADERS)
gcc $(OPTIONS) -c generators.c
2020-08-02 22:48:33 +00:00
coxeter.o: coxeter.c $(HEADERS)
gcc $(OPTIONS) -c coxeter.c
mat.o: mat.c $(HEADERS)
gcc $(OPTIONS) -c mat.c
2022-04-25 19:09:45 +00:00
qext.o: qext.c $(HEADERS)
gcc $(OPTIONS) -c qext.c
clean:
rm -f complex_anosov complex_anosov.o mat.o coxeter.o enumerate.o generators.o qext.o