specialized routine to generate cosets for <bcd..> \ D2n

This commit is contained in:
Florian Stecker
2018-12-01 20:56:23 -08:00
parent 4342a1f3e5
commit d3336bab00
3 changed files with 148 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ SPECIAL_OPTIONS=-O3 -flto -funroll-loops -Winline
OPTIONS=-m64 -march=native -mtune=native -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS)
NAME=enumerate-balanced-ideals
all: enumerate graph
all: enumerate graph D2n
$(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
@@ -21,12 +21,18 @@ enumerate: enumerate.o weyl.o thickenings.o
graph: graph.o weyl.o
gcc $(OPTIONS) -o graph graph.o weyl.o
D2n: D2n.o weyl.o thickenings.o
gcc $(OPTIONS) -o D2n D2n.o weyl.o thickenings.o
enumerate.o: enumerate.c $(HEADERS)
gcc $(OPTIONS) -c enumerate.c
thickenings.o: thickenings.c $(HEADERS)
gcc $(OPTIONS) -c thickenings.c
D2n.o: D2n.c $(HEADERS)
gcc $(OPTIONS) -c D2n.c
weyl.o: weyl.c $(HEADERS)
gcc $(OPTIONS) -c weyl.c
@@ -34,4 +40,4 @@ graph.o: graph.c $(HEADERS)
gcc $(OPTIONS) -c graph.c
clean:
rm -f enumerate graph thickenings.o weyl.o enumerate.o graph.o $(NAME) $(NAME).tar.bz2
rm -f enumerate graph D2n thickenings.o weyl.o enumerate.o graph.o D2n.o $(NAME) $(NAME).tar.bz2