From c94659e9a6ba82f52fe84d4c0fc95e41293b03a6 Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 18 Jun 2024 19:30:45 +0200 Subject: [PATCH] Updated build flags. --- Makefile | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 33aa40d..7cfd344 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ FC = gfortran PREFIX = /usr/local DEBUG = -g -O0 -Wall -fmax-errors=1 -RELEASE = -O2 -march=native +RELEASE = -O2 FFLAGS = $(RELEASE) LDFLAGS = -I$(PREFIX)/include -L$(PREFIX)/lib diff --git a/README.md b/README.md index f6a7b5c..599ab19 100644 --- a/README.md +++ b/README.md @@ -108,8 +108,8 @@ program main end program main ``` -If the library is installed to `/opt`, then compile, link, and run the program -with: +If the library has been installed to `/opt`, then compile, link, and run the +program with: ``` $ gfortran -I/opt/include/libfortran-pcre2 -o example example.f90 /opt/lib/libfortran-pcre2.a -lpcre2-8