Update and rename cm.mk to rex.mk