Turkish artillery units on Tuesday shelled Islamic State group targets across the border in Syria, officials said, hours after rockets fired from Syria struck a Turkish border town, wounding eight people.

Two rockets hit the town of Kilis early in the day in the third such cross-border incident at the town in the past five days.

One rocket struck a guesthouse while the second landed on an empty field near a bus terminal, the state-run Anadolu Agency said. The Kilis governor's office said eight people were hurt and two of them were in serious condition.

Authorities evacuated children from a nearby youth center that has been turned into a temporary school for Syrian refugees, the report said.

Syrian refugee boys play with a toy gun at the Oncupinar refugee camp for Syrian refugees next to the border crossing with Syria, near the town of Kilis in southeastern Turkey, on March 17. Two rockets hit the down on Tuesday, injuring eight. Authorities evacuated a nearby youth centre that has been turned into a temporary school for Syrian refugees. (Lefteris Pitarakis/Associated Press)

Turkey's military routinely retaliates to rockets or shells that land on Turkish territory. On Tuesday, artillery units fired at ISIS targets around the town of Azaz, in northern Syria, Anadolu reported.

The agency, citing unidentified security sources, said the targeted ISIS positions were located around the villages of Sawran, Dabiq, Akhtarin and Ehtemlat and added that the "intensive shelling" was continuing.

Turkey is shelling ISIS targets in Syria around Sawran, Dabiq and Akhtarin after it says rockets were launched in the Turkish border town of Kilis. (CBC)

Prime Minister Ahmet Davutoglu said the Turkish military had responded to rockets "immediately in line with the rules of engagement."

"We are determined to take every step that is necessary," Davutoglu said.

The wider province of Kilis borders areas in Syria that are controlled by the Islamic State group, Syrian Kurdish militia or anti-government Syrian rebels.