Fenòmens p4: allow to save final configuration
Change-Id: I9f14110403a8313357ab04df624373789de47233
diff --git a/quad10/fenomens/lab/p4/Makefile b/quad10/fenomens/lab/p4/Makefile
index e38dc46..21e5cbf 100644
--- a/quad10/fenomens/lab/p4/Makefile
+++ b/quad10/fenomens/lab/p4/Makefile
@@ -5,9 +5,9 @@
all: MC-2.o
make_out_folder:
mkdir -p out data_out
-MC-2.o: make_out_folder mt19937ar.o generateSpinMatrix.o magne.o energ.o pbc.o MC-2.f90
+MC-2.o: make_out_folder mt19937ar.o generateSpinMatrix.o magne.o energ.o pbc.o writeconfig.o MC-2.f90
$(FC) $(FC_FLAGS) -c MC-2.f90
- $(FC) $(FC_FLAGS) MC-2.o generateSpinMatrix.o mt19937ar.o magne.o energ.o pbc.o -o out/mc2
+ $(FC) $(FC_FLAGS) MC-2.o generateSpinMatrix.o mt19937ar.o magne.o energ.o pbc.o writeconfig.o -o out/mc2
mt19937ar.o: mt19937ar.f
$(FC) $(FC_FLAGS) -c mt19937ar.f
generateSpinMatrix.o: generateSpinMatrix.f90
@@ -18,6 +18,8 @@
$(FC) $(FC_FLAGS) -c energ.f90
pbc.o: pbc.f90
$(FC) $(FC_FLAGS) -c pbc.f90
+writeconfig.o: writeconfig.f90
+ $(FC) $(FC_FLAGS) -c writeconfig.f90
clean:
rm -rf out *.o