From 60e30692cb2c94c1302bc325c5c38bc20cf3eccf Mon Sep 17 00:00:00 2001 From: Michele Guerini Rocco Date: Tue, 23 Apr 2024 17:06:17 +0200 Subject: [PATCH] Makefile: stop at first syntax error This flag prevents gcc from outputting a wall of text everytime you forget a comma. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 97cefc6..5c5763e 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,7 @@ DATE=$(shell LC_TIME=C date -d @$(SOURCE_DATE_EPOCH) '+%B %Y') FC = gfortran LD = gfortran FFLAGS += -J$(OBJDIR) -I$(INCDIR) -ffree-line-length-none -fPIC -frecursive +FFLAGS += -Wfatal-errors LDFLAGS += -L$(LIBDIR) CPPFLAGS += -DREVISION=\"$(GIT_REV)$(GIT_DIRTY)\" -DPREFIX=\"$(PREFIX)\"