Skip to content

Commit

Permalink
Updated build flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
interkosmos committed Jun 18, 2024
1 parent 59aa12d commit c94659e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c94659e

Please sign in to comment.