2016-07-26 08:09:34 +00:00
|
|
|
HEADERS=coxeter.h thickenings.h queue.h
|
2016-08-26 12:56:23 +00:00
|
|
|
OPTIONS=-O3 -g -std=gnu99
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2016-08-29 13:19:49 +00:00
|
|
|
all: generate process test
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2016-07-26 08:09:34 +00:00
|
|
|
generate: generate.o coxeter.o thickenings.o
|
|
|
|
gcc $(OPTIONS) -o generate generate.o thickenings.o coxeter.o -lgsl -lcblas
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2016-07-26 08:09:34 +00:00
|
|
|
process: process.o coxeter.o thickenings.o
|
|
|
|
gcc $(OPTIONS) -o process process.o thickenings.o coxeter.o -lgsl -lcblas
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2016-08-29 13:19:49 +00:00
|
|
|
test: test.o coxeter.o thickenings.o
|
|
|
|
gcc $(OPTIONS) -o test test.o thickenings.o coxeter.o -lgsl -lcblas
|
|
|
|
|
2016-07-26 08:09:34 +00:00
|
|
|
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
|
2016-06-09 19:11:20 +00:00
|
|
|
|
2016-08-29 13:19:49 +00:00
|
|
|
test.o: test.c $(HEADERS)
|
|
|
|
gcc $(OPTIONS) -c test.c
|
|
|
|
|
2016-06-09 19:11:20 +00:00
|
|
|
clean:
|
2016-08-29 13:19:49 +00:00
|
|
|
rm -f generate process test thickenings.o coxeter.o generate.o process.o test.o
|