Fix bug if ANIMATE define is set Move all defines to config.mk Add clangd generation in Makefile Move ICC to ICX config
16 lines
318 B
Makefile
16 lines
318 B
Makefile
CC = clang
|
|
GCC = cc
|
|
LINKER = $(CC)
|
|
|
|
ifeq ($(ENABLE_OPENMP),true)
|
|
OPENMP = -fopenmp
|
|
#OPENMP = -Xpreprocessor -fopenmp #required on Macos with homebrew libomp
|
|
LIBS = # -lomp
|
|
endif
|
|
|
|
VERSION = --version
|
|
CFLAGS = -O3 -ffast-math -std=c99 $(OPENMP)
|
|
LFLAGS = $(OPENMP) -lm
|
|
DEFINES = -D_GNU_SOURCE
|
|
INCLUDES =
|