A cursory reading of install instructions suggests that both cmake and makefile methods of installation take care of updating scanners.c from scanners.re.
However, the instructions for doing it are not present on cmake scripts, only in the handwritten Makefile.