Files
NuSiF-Solver/PoissonSolver/2D-seq/include_CLANG.mk
Jan Eitzinger 38a96ddf8d Fix bugs and improve build system
Fix bug if ANIMATE define is set
Move all defines to config.mk
Add clangd generation in Makefile
Move ICC to ICX config
2025-11-05 10:29:31 +01:00

16 lines
318 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 = -O3 -ffast-math -std=c99 $(OPENMP)
LFLAGS = $(OPENMP) -lm
DEFINES = -D_GNU_SOURCE
INCLUDES =