Generate + Process

This commit is contained in:
Florian Stecker
2016-07-26 10:09:34 +02:00
parent eb7f469171
commit a17c6fb06e
5 changed files with 400 additions and 169 deletions

View File

@@ -1,14 +1,25 @@
HEADERS=coxeter.h thickenings.h queue.h
OPTIONS=-O0 -g -std=gnu99
all: thickenings
all: generate process
thickenings: thickenings.o coxeter.o
gcc -O3 -o thickenings thickenings.o coxeter.o -lgsl -lcblas
generate: generate.o coxeter.o thickenings.o
gcc $(OPTIONS) -o generate generate.o thickenings.o coxeter.o -lgsl -lcblas
thickenings.o: thickenings.c coxeter.h
gcc -O3 -c thickenings.c -std=gnu99
process: process.o coxeter.o thickenings.o
gcc $(OPTIONS) -o process process.o thickenings.o coxeter.o -lgsl -lcblas
coxeter.o: coxeter.c coxeter.h
gcc -O3 -c coxeter.c -std=gnu99
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
coxeter.o: coxeter.c $(HEADERS)
gcc $(OPTIONS) -c coxeter.c
clean:
rm -f thickenings thickenings.o coxeter.o
rm -f generate thickenings.o coxeter.o generate.o process.o