OPTS = -fdollar-ok LAPACK = -llapack -lblas PGPLOT = -I%GWMODDIR% -Wl,--subsystem,console -lpgplot -lGrWin -mwindows OPENMP = -fopenmp MPI = -I C:\MPICH2\include -L C:\MPICH2\lib -lmpi -lfmpich2g -lmpicxx DEBUG = -fcheck=all -ffpe-trap=invalid,zero,overflow,underflow -fbacktrace PROFIL = -pg all:Interpolation.exe Interpolation.exe:Interpolation.o spline.o splint.o golden.o gfortran -o Interpolation.exe *.o Interpolation.o:nr.mod gfortran Interpolation.f90 -c $(OPTS) nrtype.mod: gfortran nrtype.f90 -c $(OPTS) nr.mod:nrtype.mod gfortran nr.f90 -c $(OPTS) nrutil.mod:nrtype.mod gfortran nrutil.f90 -c $(OPTS) spline.o:nrtype.mod nrutil.mod nr.mod tridag.o gfortran spline.f90 -c $(OPTS) tridag.o:nrtype.mod nrutil.mod gfortran tridag.f90 -c $(OPTS) splint.o:nrtype.mod nrutil.mod nr.mod locate.o gfortran splint.f90 -c $(OPTS) locate.o:nrtype.mod gfortran locate.f90 -c $(OPTS) golden.o:nrtype.mod gfortran golden.f90 -c $(OPTS) clean: del *.mod del *.o