NuSiF-Solver/BasicSolver/2D-mpi/include_GCC.mk

21 lines
305 B
Makefile
Raw Normal View History

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