2020-08-11 16:34:22 +02:00
|
|
|
CC = gcc
|
2021-03-24 08:43:44 +01:00
|
|
|
LINKER = $(CC)
|
2020-08-11 16:34:22 +02:00
|
|
|
|
|
|
|
ANSI_CFLAGS = -ansi
|
|
|
|
ANSI_CFLAGS += -std=c99
|
|
|
|
ANSI_CFLAGS += -pedantic
|
|
|
|
ANSI_CFLAGS += -Wextra
|
|
|
|
|
2021-03-24 08:48:27 +01:00
|
|
|
# CFLAGS = -O0 -g -std=c99 -fargument-noalias
|
2022-01-17 11:40:44 +01:00
|
|
|
#CFLAGS = -O3 -march=cascadelake -ffast-math -funroll-loops # -fopenmp
|
|
|
|
#CFLAGS = -O3 -march=native -ffast-math -funroll-loops # -fopenmp
|
2021-03-24 08:48:27 +01:00
|
|
|
CFLAGS = -O3 -march=znver1 -ffast-math -funroll-loops # -fopenmp
|
2020-08-11 16:34:22 +02:00
|
|
|
ASFLAGS = -masm=intel
|
|
|
|
LFLAGS =
|
2021-04-15 14:55:02 +02:00
|
|
|
DEFINES = -D_GNU_SOURCE -DLIKWID_PERFMON
|
|
|
|
INCLUDES = $(LIKWID_INC)
|
|
|
|
LIBS = -lm $(LIKWID_LIB) -llikwid
|