With enemies. Never friends. You already tried bombing them to pieces, and it failed. Try the carrot rather than the stick. There are moderates in Hamas, and they'd likely lose most support after rights were given to Palestinians. So you want to defeat Hamas? Support an independent Palestine.
High school teacher's union threatens strike (Haaretz)