Mackie, who was a goalscorer in tonight's victory, told Sky Sports News: "It was a massive win, all the lads knew that.
"We've been tremendous at home. We haven't been great this season against opposition around us, so we've given ourselves a massive chance with five games remaining.
"I think we've got enough to keep ourselves in the league. Our home form is vital. We have two homes game left, which we believe we can win.
"We've turned over tough teams on our patch, so we need to win our remaining games at home and give ourselves a chance."
The 26-year-old Scotland international has now scored six Premier League goals this season.