2023-02-05 07:34:23 +01:00
|
|
|
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 -std=c17 $(OPENMP)
|
2024-01-08 22:32:30 +01:00
|
|
|
CFLAGS = -Ofast -std=c17
|
2023-02-05 07:34:23 +01:00
|
|
|
#CFLAGS = -Ofast -fnt-store=aggressive -std=c99 $(OPENMP) #AMD CLANG
|
|
|
|
LFLAGS = $(OPENMP) -lm
|
|
|
|
DEFINES = -D_GNU_SOURCE# -DDEBUG
|
|
|
|
INCLUDES =
|