Skip to content

Commit

Permalink
Merge branch 'master' into APIUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
parikshitbajpai committed May 4, 2023
2 parents 6af9af6 + b950666 commit 688c567
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
Expand Up @@ -26,7 +26,10 @@ FPE_TRAP ?= zero
AR = ar
FC = gfortran
CC = g++
FCFLAGS = -Wall -O2 -fno-automatic -fbounds-check -ffpe-trap=$(FPE_TRAP) -cpp -D"DATA_DIRECTORY='$(DATA_DIR)'"

FFPE_TRAPS ?= zero
FCFLAGS = -Wall -O2 -fno-automatic -fbounds-check -ffpe-trap=$(FFPE_TRAPS) -cpp -D"DATA_DIRECTORY='$(DATA_DIR)'"

CCFLAGS = -std=gnu++17

UNAME_S := $(shell uname -s)
Expand Down Expand Up @@ -91,7 +94,7 @@ SHARED_LIB = $(OBJ_DIR)/$(TC_LIB)
## C interface library:
## =================
C_SRC = Thermochimica-c.C Thermochimica-cxx.C
C_OBJ = $(C_SRC:.C=.o)
C_OBJ = $(C_SRC:.C=.o)
C_LNK = $(addprefix $(OBJ_DIR)/,$(C_OBJ))
TC-C_LIB = libthermoc.a
C_LIB = $(OBJ_DIR)/$(TC-C_LIB)
Expand Down Expand Up @@ -237,6 +240,7 @@ test: all dailytest
## DEBUG:
## ===========
setdebug:
$(eval FCFLAGS = -Wall -O0 -g -fno-automatic -fbounds-check -ffpe-trap=$(FPE_TRAP) -D"DATA_DIRECTORY='$(DATA_DIR)'")

$(eval FCFLAGS = -Wall -O0 -g -fno-automatic -fbounds-check -ffpe-trap=$(FFPE_TRAPS) -D"DATA_DIRECTORY='$(DATA_DIR)'")

debug: setdebug all dailytest

0 comments on commit 688c567

Please sign in to comment.