Generate cluster target code.