Mercurial > op > rk_sakamoti
diff Makefile @ 4:8026ceb4de7a
add Makefile
author | "uncorrelated zombie" <uncorrelated@yahoo.co.jp> |
---|---|
date | Tue, 23 Jul 2024 01:48:31 +0900 |
parents | |
children | 0ca8347e4c47 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Tue Jul 23 01:48:31 2024 +0900 @@ -0,0 +1,20 @@ +All: rkmain.exe rksub.so + +clean: + rm *.so *.o *.mod *.exe + +rksub.so: rksub.f90 rkmain.o rkmod.o rungekutta.o + R CMD SHLIB rksub.f90 rkmain.o rkmod.o rungekutta.o + +rkmain.exe: rkmain.o rkmod.o rungekutta.o + gfortran -o rkmain.exe rkmain.o rkmod.o rungekutta.o + +rkmain.o: rkmain.f90 rkmod.o rungekutta.o + gfortran -c rkmain.f90 + +rkmod.o: rkmod.f90 rungekutta.o + gfortran -c rkmod.f90 + +rungekutta.o: rungekutta.f90 + gfortran -c rungekutta.f90 +