makefile fix

This commit is contained in:
ignis 2019-03-27 13:10:32 +09:00
parent f16cf233c8
commit a61e753b27

View file

@ -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