I would imagine that a target's moving would be taken into account, should a Macrocannon be fired over long-ranges. Just like Fighter Pilots using cannon in dogfights would 'lead' the target and fire where it was going to be, not where it was, an enemy's course would be taken into account so that shell and ship would intersect at some future point.
However, I think this weapon is rightly being thought of a short-ranged; it would depend on how quickly large Warships could change course during a battle is the void- too quickly and no shot will ever hit home at long-range. Of course, if a shot is going to take 30 mins to hit the target then it does have the advantage of being 'stealthy' in some respects. The initial firing would be easily detectable, but after that the shell is, basically, an inert slug. It might be large when compared to a Human, but in the vastness of space, a Macrocannon shell would be an insignificant speck. In this way it might be more of an area denial weapon, multiple ships fire a volley in a certain direction, hoping that the enemy will be forced to change course out of concern that they might be hit because they can't detect the shells in transit; this also could carry a psychological edge, the fear of being hit causing enemy Commanders to react, rather than dictating the course of the battle.
Just some thoughts a-rattlin' around my noggin.
GFP