annotate Makefile @ 4:8026ceb4de7a

add Makefile
author "uncorrelated zombie" <uncorrelated@yahoo.co.jp>
date Tue, 23 Jul 2024 01:48:31 +0900
parents
children 0ca8347e4c47
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
1 All: rkmain.exe rksub.so
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
2
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
3 clean:
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
4 rm *.so *.o *.mod *.exe
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
5
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
6 rksub.so: rksub.f90 rkmain.o rkmod.o rungekutta.o
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
7 R CMD SHLIB rksub.f90 rkmain.o rkmod.o rungekutta.o
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
8
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
9 rkmain.exe: rkmain.o rkmod.o rungekutta.o
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
10 gfortran -o rkmain.exe rkmain.o rkmod.o rungekutta.o
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
11
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
12 rkmain.o: rkmain.f90 rkmod.o rungekutta.o
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
13 gfortran -c rkmain.f90
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
14
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
15 rkmod.o: rkmod.f90 rungekutta.o
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
16 gfortran -c rkmod.f90
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
17
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
18 rungekutta.o: rungekutta.f90
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
19 gfortran -c rungekutta.f90
8026ceb4de7a add Makefile
"uncorrelated zombie" <uncorrelated@yahoo.co.jp>
parents:
diff changeset
20