NuSiF-Solver/BasicSolver/3D-mpi-io/include_CLANG.mk

22 lines
375 B
Makefile
Raw Normal View History

ifeq ($(ENABLE_MPI),true)
2023-02-05 08:02:01 +01:00
CC = mpicc
DEFINES = -D_MPI
else
CC = cc
endif
2023-02-05 08:02:01 +01:00
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=c17
LFLAGS = $(OPENMP) -lm
DEFINES += -D_GNU_SOURCE# -DDEBUG
2023-02-05 08:02:01 +01:00
INCLUDES =