2024-05-15 14:20:40 +02:00
|
|
|
CC = /opt/homebrew/Cellar/llvm/18.1.5/bin/clang
|
2020-08-11 16:34:22 +02:00
|
|
|
LINKER = $(CC)
|
|
|
|
|
|
|
|
ANSI_CFLAGS = -ansi
|
|
|
|
ANSI_CFLAGS += -std=c99
|
|
|
|
ANSI_CFLAGS += -pedantic
|
2024-05-15 14:20:40 +02:00
|
|
|
# ANSI_CFLAGS += -Wextra
|
2020-08-11 16:34:22 +02:00
|
|
|
|
2024-05-15 14:20:40 +02:00
|
|
|
CFLAGS = -Ofast -march=native $(ANSI_CFLAGS) -Xpreprocessor -fopenmp #-g
|
2023-01-11 15:30:26 +01:00
|
|
|
#CFLAGS = -Ofast -march=core-avx2 $(ANSI_CFLAGS) #-Xpreprocessor -fopenmp -g
|
2022-01-17 11:40:44 +01:00
|
|
|
#CFLAGS = -O3 -march=cascadelake $(ANSI_CFLAGS) #-Xpreprocessor -fopenmp -g
|
2022-12-13 01:06:59 +01:00
|
|
|
#CFLAGS = -Ofast $(ANSI_CFLAGS) -g #-Xpreprocessor -fopenmp -g
|
2024-05-15 14:20:40 +02:00
|
|
|
ASFLAGS = #-masm=intel
|
2020-08-11 16:34:22 +02:00
|
|
|
LFLAGS =
|
2021-03-24 08:43:44 +01:00
|
|
|
DEFINES = -D_GNU_SOURCE
|
2024-05-15 14:20:40 +02:00
|
|
|
# MacOSX with Apple Silicon and homebrew
|
|
|
|
INCLUDES = -I/opt/homebrew/Cellar/libomp/18.1.5/include/
|
|
|
|
LIBS = -lm -L/opt/homebrew/Cellar/libomp/18.1.5/lib/ -lomp
|