Files
BasicSolver
EnhancedSolver
PoissonSolver
2D-mpi
2D-seq
src
Makefile
README.md
config.mk
include_CLANG.mk
include_GCC.mk
include_ICC.mk
p.dat
poisson.par
surface.plot
.clang-format
.clang-tidy
.clangd
.gitignore
LICENSE
README.md
NuSiF-Solver/PoissonSolver/2D-seq/include_CLANG.mk
Jan Eitzinger 213e633a4d Initial checkin
2023-02-05 07:34:23 +01:00

17 lines
390 B
Makefile

CC = clang
GCC = cc
LINKER = $(CC)
ifeq ($(ENABLE_OPENMP),true)
OPENMP = -fopenmp
#OPENMP = -Xpreprocessor -fopenmp #required on Macos with homebrew libomp
LIBS = # -lomp
endif
VERSION = --version
CFLAGS = -Ofast -std=c99 $(OPENMP)
#CFLAGS = -Ofast -fnt-store=aggressive -std=c99 $(OPENMP) #AMD CLANG
LFLAGS = $(OPENMP) -lm
DEFINES = -D_GNU_SOURCE# -DDEBUG
INCLUDES =