Mercurial > op > rk_sakamoti
comparison Makefile @ 4:8026ceb4de7a
add Makefile
author | "uncorrelated zombie" <uncorrelated@yahoo.co.jp> |
---|---|
date | Tue, 23 Jul 2024 01:48:31 +0900 |
parents | |
children | 0ca8347e4c47 |
comparison
equal
deleted
inserted
replaced
3:2347cff808b0 | 4:8026ceb4de7a |
---|---|
1 All: rkmain.exe rksub.so | |
2 | |
3 clean: | |
4 rm *.so *.o *.mod *.exe | |
5 | |
6 rksub.so: rksub.f90 rkmain.o rkmod.o rungekutta.o | |
7 R CMD SHLIB rksub.f90 rkmain.o rkmod.o rungekutta.o | |
8 | |
9 rkmain.exe: rkmain.o rkmod.o rungekutta.o | |
10 gfortran -o rkmain.exe rkmain.o rkmod.o rungekutta.o | |
11 | |
12 rkmain.o: rkmain.f90 rkmod.o rungekutta.o | |
13 gfortran -c rkmain.f90 | |
14 | |
15 rkmod.o: rkmod.f90 rungekutta.o | |
16 gfortran -c rkmod.f90 | |
17 | |
18 rungekutta.o: rungekutta.f90 | |
19 gfortran -c rungekutta.f90 | |
20 |