Makefile 191 Bytes
Newer Older
EdwinMindcraft's avatar
EdwinMindcraft committed
1
2
3
FC = gfortran
OPT = -g

Pierre-Chanteloup Edwin's avatar
Update    
Pierre-Chanteloup Edwin committed
4
gss: main.f gauss_seidel.o
EdwinMindcraft's avatar
EdwinMindcraft committed
5
6
7
	$(FC) $(OPT) main.f gauss_seidel.o -o main

gauss_seidel.o: gauss_seidel.f
EdwinMindcraft's avatar
EdwinMindcraft committed
8
9
10
11
	$(FC) $(OPT) gauss_seidel.f -c

clean:
	rm main *.o *.mod *.exe