diff --git a/code/makefile b/code/makefile index 33bd812..88be28f 100644 --- a/code/makefile +++ b/code/makefile @@ -6,16 +6,16 @@ endif compiler = gfortran -ex : test.o ysolve.mod compact.mod +ex : test.o ysolve.o Compact.o ${compiler} -o ex test.o ysolve.o Compact.o -test.o : test.f90 ysolve.mod +test.o : test.f90 ysolve.mod compact.mod ${compiler} -c ${flags} test.f90 -ysolve.mod: ysolve.f90 compact.mod +ysolve.o ysolve.mod : ysolve.f90 compact.mod ${compiler} -c ${flags} ysolve.f90 -compact.mod: Compact.f90 +Compact.o compact.mod : Compact.f90 ${compiler} -c ${flags} Compact.f90 test: ex