rewrite make rules in cmake]