NuSiF-Solver/PoissonSolver/2D-seq/include_CLANG.mk

19 lines
426 B
Makefile
Raw Normal View History

2023-02-05 07:34:23 +01:00
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
2024-11-01 08:41:50 +01:00
DEFINES = -D_GNU_SOURCE
DEFINES += -DANIMATE
# DEFINES += -DDEBUG
2023-02-05 07:34:23 +01:00
INCLUDES =