A military base housing Turkish troops in northern Iraq was targeted in a rocket attack on Sunday evening.