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
|
|
|
|
2019-02-03 12:13:54 +00:00
|
|
|
OPTIONS=-m64 -march=native -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS)
|
2018-10-02 23:09:52 +00:00
|
|
|
NAME=enumerate-balanced-ideals
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2019-01-03 19:15:36 +00:00
|
|
|
all: enumerate graph D2n dominant_weights
|
2018-10-02 23:09:52 +00:00
|
|
|
|
|
|
|
$(NAME).tar.bz2: $(NAME) $(HEADERS) enumerate.c weyl.c thickenings.c
|
|
|
|
tar cjhf $(NAME).tar.bz2 $(NAME)/enumerate.c $(NAME)/weyl.c $(NAME)/thickenings.c $(NAME)/weyl.h $(NAME)/thickenings.h $(NAME)/queue.h $(NAME)/bitvec.h $(NAME)/Makefile $(NAME)/graph.c
|
|
|
|
|
|
|
|
$(NAME):
|
|
|
|
ln -s . $(NAME)
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2017-01-31 19:24:53 +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
|
|
|
|
|
2018-12-02 04:56:23 +00:00
|
|
|
D2n: D2n.o weyl.o thickenings.o
|
|
|
|
gcc $(OPTIONS) -o D2n D2n.o weyl.o thickenings.o
|
|
|
|
|
2019-01-08 16:01:24 +00:00
|
|
|
dominant_weights: dominant_weights.o weyl.o thickenings.o
|
|
|
|
gcc $(OPTIONS) -o dominant_weights dominant_weights.o weyl.o thickenings.o -lcdd
|
2019-01-03 19:15:36 +00:00
|
|
|
|
2017-01-31 19:24:53 +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
|
|
|
|
|
2018-12-02 04:56:23 +00:00
|
|
|
D2n.o: D2n.c $(HEADERS)
|
|
|
|
gcc $(OPTIONS) -c D2n.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
|
|
|
|
|
2019-01-03 19:15:36 +00:00
|
|
|
dominant_weights.o: dominant_weights.c $(HEADERS)
|
|
|
|
gcc $(OPTIONS) -c dominant_weights.c
|
|
|
|
|
2016-06-09 19:11:20 +00:00
|
|
|
clean:
|
2019-01-03 19:15:36 +00:00
|
|
|
rm -f enumerate graph D2n dominant_weights thickenings.o weyl.o enumerate.o graph.o D2n.o dominant_weights.o $(NAME) $(NAME).tar.bz2
|