makefile fix, touch *.mod after compilation

This commit is contained in:
ignis 2019-04-03 14:18:59 +09:00
parent 044e2e44de
commit 796edf5082

View file

@ -14,9 +14,11 @@ test.o : test.f90 ysolve.mod compact.mod
ysolve.o ysolve.mod : ysolve.f90 compact.mod ysolve.o ysolve.mod : ysolve.f90 compact.mod
${compiler} -c ${flags} ysolve.f90 ${compiler} -c ${flags} ysolve.f90
touch ysolve.mod
Compact.o compact.mod : Compact.f90 Compact.o compact.mod : Compact.f90
${compiler} -c ${flags} Compact.f90 ${compiler} -c ${flags} Compact.f90
touch compact.mod
test: ex test: ex
sh test.sh sh test.sh