31 lines
		
	
	
		
			843 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			843 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
HEADERS=weyl.h thickenings.h queue.h bitvec.h
 | 
						|
 | 
						|
#SPECIAL_OPTIONS=-O0 -g -D_DEBUG
 | 
						|
#SPECIAL_OPTIONS=-O3 -pg -funroll-loops -fno-inline
 | 
						|
SPECIAL_OPTIONS=-O3 -flto -funroll-loops -Winline
 | 
						|
 | 
						|
OPTIONS=-m64 -march=native -mtune=native -std=gnu99 -D_GNU_SOURCE $(SPECIAL_OPTIONS)
 | 
						|
 | 
						|
all: enumerate idealbounds
 | 
						|
 | 
						|
enumerate: enumerate.o weyl.o thickenings.o
 | 
						|
	gcc $(OPTIONS) -o enumerate enumerate.o thickenings.o weyl.o
 | 
						|
 | 
						|
idealbounds: idealbounds.o weyl.o
 | 
						|
	gcc $(OPTIONS) -o idealbounds idealbounds.o weyl.o
 | 
						|
 | 
						|
enumerate.o: enumerate.c $(HEADERS)
 | 
						|
	gcc $(OPTIONS) -c enumerate.c
 | 
						|
 | 
						|
thickenings.o: thickenings.c $(HEADERS)
 | 
						|
	gcc $(OPTIONS) -c thickenings.c
 | 
						|
 | 
						|
weyl.o: weyl.c $(HEADERS)
 | 
						|
	gcc $(OPTIONS) -c weyl.c
 | 
						|
 | 
						|
idealbounds.o: idealbounds.c $(HEADERS)
 | 
						|
	gcc $(OPTIONS) -c idealbounds.c
 | 
						|
 | 
						|
clean:
 | 
						|
	rm -f enumerate idealbounds thickenings.o weyl.o enumerate.o idealbounds.o
 |