From 94fac6c6e42e39de35a47b30fda4e7c25d68afed Mon Sep 17 00:00:00 2001 From: vmagnin Date: Sat, 30 Oct 2021 13:06:53 +0200 Subject: [PATCH] build.sh: improved for other compilers --- build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index d1bea19..a9b2046 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ set -eu # Default compiler can be overrided, for example: -# $ GFC='gfortran-8' ./build.sh +# $ FC='gfortran-8' ./build.sh # Default: : ${FC="gfortran"} @@ -15,4 +15,6 @@ fi rm -f *.mod -"${FC}" -Wall -Wextra -pedantic -std=f2008 -O2 src/taptempo.f90 app/main.f90 -o build/taptempo +"${FC}" src/taptempo.f90 app/main.f90 -o build/taptempo + +rm -f *.mod