PROG=MinMaxReduction

debug:
	icpc -Wall -g -openmp ${PROG}.c -o ${PROG}.exe

release:
	icpc -Wall -g -openmp -O3 ${PROG}.c -o ${PROG}.exe

run go: ${PROG}.exe
	OMP_DYNAMIC=false ./${PROG}.exe

clean:
	rm -rf *.er *~ ${PROG}.exe ${PROG}.o

${PROG}.exe: debug
