Horrid as it sounds, that's exactly what I think should be done.  Shoot them as they come across, let the bodies stay where they're dropped.  Others will have to climb over the bodies to get further into the country.  Put guard towers on the border and shoot to kill.