2024-01-31 17:40:36 +01:00
|
|
|
ifeq ($(ENABLE_MPI),true)
|
|
|
|
CC = mpicc
|
|
|
|
DEFINES = -D_MPI
|
|
|
|
else
|
2023-02-05 07:34:23 +01:00
|
|
|
CC = gcc
|
2024-01-31 17:40:36 +01:00
|
|
|
endif
|
|
|
|
|
2023-02-05 07:34:23 +01:00
|
|
|
GCC = gcc
|
|
|
|
LINKER = $(CC)
|
|
|
|
|
|
|
|
ifeq ($(ENABLE_OPENMP),true)
|
|
|
|
OPENMP = -fopenmp
|
|
|
|
endif
|
|
|
|
|
|
|
|
VERSION = --version
|
|
|
|
CFLAGS = -Ofast -ffreestanding -std=c99 $(OPENMP)
|
|
|
|
LFLAGS = $(OPENMP)
|
2024-01-31 17:40:36 +01:00
|
|
|
DEFINES += -D_GNU_SOURCE
|
2023-02-05 07:34:23 +01:00
|
|
|
INCLUDES =
|
|
|
|
LIBS =
|