With the moves the Yankees made at the trade deadline, adding players such as Sonny Gray, Todd Frazier, David Robertson and Jaime Garcia — and their salaries — it was clear the team was going for it.

On Wednesday at the quarterly MLB owners meetings in Chicago, managing general partner Hal Steinbrenner left no doubt.

“If we don’t make the playoffs, it’s a failure,” Steinbrenner said, according to MLB.com. “Any year. Any year. That’s just the mindset for us.”

“That’s how we look at it every year,” said manager Joe Girardi, who like general manager Brian Cashman, is in the final season of his contract.

Steinbrenner gave the go-ahead for Cashman to increase payroll by roughly $17 million with the luxury tax and trade prospects Jorge Mateo, Blake Rutherford, Dustin Fowler and James Kaprielian, among others, after the Yankees exceeded expectations through the first half of the season.

“It was a great first 2 ¹/₂ months,” Steinbrenner said before his Yankees beat the Mets 5-3 for their third consecutive Subway Series win. “It’s been a tough last two months, for the most part. But I think they’re coming out of it and the pitching additions we made at the deadline are already helping and we’re going to have a strong last five, six weeks.”

So far, the Yankees have lost ground to the Red Sox in the AL East, with a slim lead in the division turning into a 4½-game deficit even after Wednesday night’s win.