Skip to content

Commit

Permalink
Updated Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
interkosmos committed Oct 2, 2023
1 parent bd31b61 commit f652ad3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
.POSIX:
.SUFFIXES:

CC = gcc
FC = gfortran
AR = ar
DEBUG = #-g -O0 -Wall -fmax-errors=1
CFLAGS = $(DEBUG) `pkg-config --cflags lua-5.4`
FFLAGS = $(DEBUG) -std=f2008 `pkg-config --cflags lua-5.4`

DEBUG = -g -O0 -Wall -fmax-errors=1
RELEASE = -O2 -march=native

CFLAGS = $(RELEASE) `pkg-config --cflags lua-5.4`
FFLAGS = $(RELEASE) `pkg-config --cflags lua-5.4`
ARFLAGS = rcs
LDFLAGS = `pkg-config --libs-only-L lua-5.4`
LDLIBS = `pkg-config --libs-only-l lua-5.4`
Expand Down

0 comments on commit f652ad3

Please sign in to comment.