CFLAGS = -DGMX_QMMM_CPMD
in configure to include the CPMD interface code into Gromacs.
In the adapted Gromacs package, a script ``build'' is provided in the gromacs folder
that takes care of the QM/MM configuration and compilation. Please adapt
as needed.