
LIB	:= -lm

# uncomment these lines for the Gnu gcc compiler
# CC	:= gcc
# FLAGS	:= -std=c99 -O3 -march=native -fopenmp

# uncomment these lines for the Intel icx compiler
# -- the default for -qopt-report is 2, the range is 1-3
CC	:= icx
FLAGS	:= -std=c99 -O3 -xHost -qopenmp -qopt-report=2

all:	fd2 fd3

fd2:	fd2.c Makefile
	$(CC) $(FLAGS) fd2.c -o fd2 $(LIB)

fd3:	fd3.c Makefile
	$(CC) $(FLAGS) fd3.c -o fd3 $(LIB)

clean:
	rm -f fd2 fd3

