dmm: add legacy switch to FFLAGS, #568
dmm: submodule update, #568
dmm: add new modules to compilation, #568