blob: d8a0c80336d1fcd945f3c85b4f533e338e9d0deb [file] [log] [blame]
.PHONY: all make_out_folder
all: MC-1.o MC-2.o
make_out_folder:
mkdir -p out out_data
MC-1.o: make_out_folder mt19937ar.o writeconfig.o magne.o energ.o str.o MC-1.f90
gfortran -c MC-1.f90
gfortran MC-1.o writeconfig.o mt19937ar.o magne.o energ.o str.o -o out/mc1
MC-2.o: make_out_folder mt19937ar.o writeconfigseed.o magne.o energ.o str.o MC-2.f90
gfortran -c MC-2.f90
gfortran MC-2.o writeconfigseed.o mt19937ar.o magne.o energ.o str.o -o out/mc2
mt19937ar.o: mt19937ar.f
gfortran -c mt19937ar.f
writeconfig.o: writeconfig.f90
gfortran -c writeconfig.f90
writeconfigseed.o: writeconfigseed.f90
gfortran -c writeconfigseed.f90
magne.o: magne.f90
gfortran -c magne.f90
energ.o: energ.f90
gfortran -c energ.f90
str.o: str.f90
gfortran -c str.f90
clean:
rm -rf out out_data *.o