# Class 21: programs to time.
#   make mandel, make gray: make's own rule builds prog from prog.c with
#   CFLAGS, and the line below adds image.c to it. make -n mandel prints the
#   command without running it.
# -O2 asks gcc for a fast program. The sanitizer is left out: it checks every
# byte a program touches, and would be part of every time you take. To check
# a program with it, once:  make mandel CFLAGS="-Wall -g -fopenmp -fsanitize=address"

CFLAGS = -Wall -g -O2 -fopenmp

mandel gray: image.c

clean:
	rm -f mandel gray
