2024-07-08 09:52:11 +02:00
|
|
|
ifeq ($(ENABLE_MPI),true)
|
|
|
|
CC = mpicc
|
|
|
|
DEFINES = -D_MPI
|
|
|
|
else
|
2023-02-05 07:34:23 +01:00
|
|
|
CC = gcc
|
2024-07-08 09:52:11 +02: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-07-08 09:52:11 +02:00
|
|
|
DEFINES += -D_GNU_SOURCE
|
2023-02-05 07:34:23 +01:00
|
|
|
INCLUDES =
|
|
|
|
LIBS =
|