blob: d8a0c80336d1fcd945f3c85b4f533e338e9d0deb [file] [log] [blame]
avm99963802583e2022-05-12 10:56:56 +02001.PHONY: all make_out_folder
2
3all: MC-1.o MC-2.o
4make_out_folder:
5 mkdir -p out out_data
6MC-1.o: make_out_folder mt19937ar.o writeconfig.o magne.o energ.o str.o MC-1.f90
7 gfortran -c MC-1.f90
8 gfortran MC-1.o writeconfig.o mt19937ar.o magne.o energ.o str.o -o out/mc1
9MC-2.o: make_out_folder mt19937ar.o writeconfigseed.o magne.o energ.o str.o MC-2.f90
10 gfortran -c MC-2.f90
11 gfortran MC-2.o writeconfigseed.o mt19937ar.o magne.o energ.o str.o -o out/mc2
12mt19937ar.o: mt19937ar.f
Adrià Vilanova Martínez24d87012022-06-16 00:29:59 +020013 gfortran -c mt19937ar.f
avm99963802583e2022-05-12 10:56:56 +020014writeconfig.o: writeconfig.f90
15 gfortran -c writeconfig.f90
16writeconfigseed.o: writeconfigseed.f90
17 gfortran -c writeconfigseed.f90
18magne.o: magne.f90
19 gfortran -c magne.f90
20energ.o: energ.f90
21 gfortran -c energ.f90
22str.o: str.f90
23 gfortran -c str.f90
24
25clean:
26 rm -rf out out_data *.o