
#
# webpages for compiler options
# https://colfaxresearch.com/skl-avx512/
# https://software.intel.com/en-us/cpp-compiler-18.0-developer-guide-and-reference-alphabetical-list-of-compiler-options
#

INC	:= -I. -I..
LIB	:= -lm
#FLAGS	:= -std=c99 -O3 -fast -qopenmp -mkl -qopt-report
#FLAGS	:= -std=c99 -fast -qopenmp -mkl -qopt-report
FLAGS	:= -std=c99 -O3 -xCore-AVX512 -qopenmp -mkl -qopt-report=4 -qopt-report-file=stdout

GBM:	GBM.c Makefile
	icc $(FLAGS) GBM.c -o GBM $(INC) $(LIB)

GBM.s:	GBM.c Makefile
	icc $(FLAGS) -S -qopt-report-embed GBM.c

clean:
	rm -f GBM

