It's better to use Macro by CFLAGS options in the make command or configure option.
But the make CFLAGS options are not reliable, and sometimes the CFLAGS cannot work. E.g.,
../configure --prefix=$PREFIX && make -j32 && make CFLAGS="-DMEASURE_TIME" -j32
When using the configure option, e.g.
make distclean && ../configure --prefix=$PREFIX CFLAGS="-DMEASURE_TIME" && make -j32
The execution time somehow doubles.