# HG changeset patch # User "uncorrelated zombie" # Date 1721666911 -32400 # Node ID 8026ceb4de7a35e45890a373413cc41bebadf2ef # Parent 2347cff808b03d70da8d400e26b13fedb41cfbcf add Makefile diff -r 2347cff808b0 -r 8026ceb4de7a Makefile --- /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 +