heroc: add make file for cm