From a38859389e5226c9ab2f5d97589579340fede689 Mon Sep 17 00:00:00 2001 From: Antoine Hoffmann <antoine.hoffmann@epfl.ch> Date: Tue, 26 Sep 2023 16:18:07 +0200 Subject: [PATCH] "make test" allows to create an exec named test --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index fb7ed07e..97f4071d 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,13 @@ fast: EXEC = $(BINDIR)/gyacomo23_fast fast: dirs src/srcinfo.h fast: compile +# test exec name +test: F90 = mpif90 +test: F90FLAGS = -O1 +test: EXEC = $(BINDIR)/gyacomo23_test +test: dirs src/srcinfo.h +test: compile + # Debug version with all flags debug: F90 = mpif90 debug: F90FLAGS = -C -g -traceback -warn all -check all -debug all -init=zero,snan -fpe0 -- GitLab