Makefile 364 Bytes
Newer Older
rabgra's avatar
rabgra committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FORT = gfortran
CFLAGS = -c -fcheck=all
LIBS = -llapack -lblas

all: test

hull.o: hull.f90 dualsimplex.o
	$(FORT) $(CFLAGS) -o hull.o hull.f90
dualsimplex.o: dualsimplex.f90
	$(FORT) $(CFLAGS) dualsimplex.f90 -o dualsimplex.o

test: test.f90 dualsimplex.o hull.o
	$(FORT) test.f90 dualsimplex.o hull.o $(LIBS) -o test

clean:
	rm -f *.o *.mod delaunayLP generate