21 lines
321 B
Makefile
21 lines
321 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 -qopt-zmm-usage=high -std=c99 $(OPENMP) -xHost
|
||
|
LFLAGS = $(OPENMP)
|
||
|
DEFINES += -D_GNU_SOURCE# -DDEBUG
|
||
|
INCLUDES =
|
||
|
LIBS =
|