Because it's missing

../../grinliz/gldynamic.cpp

at the end of engine/Makefile.am

After that you need to run autogen or autoreconf again so Makefile.in gets generated.