99da76d59c
Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
18 lines
511 B
Makefile
18 lines
511 B
Makefile
CC = clang
|
|
LINKER = $(CC)
|
|
|
|
ANSI_CFLAGS = -ansi
|
|
ANSI_CFLAGS += -std=c99
|
|
ANSI_CFLAGS += -pedantic
|
|
ANSI_CFLAGS += -Wextra
|
|
|
|
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
|
|
ASFLAGS = -masm=intel
|
|
LFLAGS =
|
|
DEFINES = -D_GNU_SOURCE
|
|
INCLUDES =
|
|
LIBS = -lm #-lomp
|