Makefile 481 Bytes
Newer Older
rabgra's avatar
rabgra committed
1
2
3
4
5
6
FORT = gfortran
CFLAGS = -c -fcheck=all
LIBS = -llapack -lblas

all: test

7
hull.o: hull.f90 dualsimplex.o precision.o
rabgra's avatar
rabgra committed
8
	$(FORT) $(CFLAGS) -o hull.o hull.f90
9
dualsimplex.o: dualsimplex.f90 precision.o
rabgra's avatar
rabgra committed
10
11
	$(FORT) $(CFLAGS) dualsimplex.f90 -o dualsimplex.o

12
test: test.f90 dualsimplex.o hull.o precision.o
rabgra's avatar
rabgra committed
13
14
	$(FORT) test.f90 dualsimplex.o hull.o $(LIBS) -o test

15
16
17
precision.o: precision.f90
	     $(FORT) $(CFLAGS) -o precision.o precision.f90

rabgra's avatar
rabgra committed
18
19
clean:
	rm -f *.o *.mod delaunayLP generate