blob: 1849ab958a7032248c115dac7f7c6e94d5efcbff [file] [log] [blame]
all: P2-exercici-1.o MC-1.o
P2-exercici-1.o: mt19937ar.o writeconfig.o magne.o energ.o P2-exercici-1.f90
gfortran -c P2-exercici-1.f90
gfortran P2-exercici-1.o writeconfig.o mt19937ar.o magne.o energ.o -o e1
MC-1.o: mt19937ar.o writeconfig.o magne.o energ.o MC-1.f90
gfortran -c MC-1.f90
gfortran MC-1.o writeconfig.o mt19937ar.o magne.o energ.o -o mc1
mt19937ar.o: mt19937ar.f
f77 -c mt19937ar.f
writeconfig.o: writeconfig.f90
gfortran -c writeconfig.f90
magne.o: magne.f90
gfortran -c magne.f90
energ.o: energ.f90
gfortran -c energ.f90
clean:
rm -f configuration.eps configuration.tex configuration.svg configuration.conf e1 mc1 *.o