makefile with OPTFLAGS which protect against changing floating point arithmetic with optimization flag O2