21 lines
324 B
Makefile
21 lines
324 B
Makefile
|
ifeq ($(ENABLE_MPI),true)
|
||
|
CC = mpiicc
|
||
|
DEFINES = -D_MPI
|
||
|
else
|
||
|
CC = icc
|
||
|
endif
|
||
|
|
||
|
GCC = gcc
|
||
|
LINKER = $(CC)
|
||
|
|
||
|
ifeq ($(ENABLE_OPENMP),true)
|
||
|
OPENMP = -qopenmp
|
||
|
endif
|
||
|
|
||
|
VERSION = --version
|
||
|
CFLAGS = -O3 -xHost -qopt-zmm-usage=high -std=c99 $(OPENMP)
|
||
|
LFLAGS = $(OPENMP)
|
||
|
DEFINES += -D_GNU_SOURCE# -DDEBUG
|
||
|
INCLUDES =
|
||
|
LIBS =
|