MD-Bench/make/include_CLANG.mk

19 lines
680 B
Makefile
Raw Normal View History

2024-05-15 14:20:40 +02:00
CC = /opt/homebrew/Cellar/llvm/18.1.5/bin/clang
LINKER = $(CC)
ANSI_CFLAGS = -ansi
ANSI_CFLAGS += -std=c99
ANSI_CFLAGS += -pedantic
2024-05-15 14:20:40 +02:00
# ANSI_CFLAGS += -Wextra
2024-05-15 14:20:40 +02:00
CFLAGS = -Ofast -march=native $(ANSI_CFLAGS) -Xpreprocessor -fopenmp #-g
#CFLAGS = -Ofast -march=core-avx2 $(ANSI_CFLAGS) #-Xpreprocessor -fopenmp -g
#CFLAGS = -O3 -march=cascadelake $(ANSI_CFLAGS) #-Xpreprocessor -fopenmp -g
#CFLAGS = -Ofast $(ANSI_CFLAGS) -g #-Xpreprocessor -fopenmp -g
2024-05-15 14:20:40 +02:00
ASFLAGS = #-masm=intel
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