No idea if this is 100% accurate, but for reference, these are the numbers for 16-17, bare minimum. AA ($8M) and Dwill ($5.1M) opt out and Jose gets stretched. You have $38M to work with.
16-17 Salary
--------------------------------
Carmelo Anthony $24,559,380
Robin Lopez $13,500,000
Jose Calderon $ 2,000,000
Porzingis $ 4,317,720
Kyle O'Quinn $ 3,900,000
Lance Thomas $ 1,650,000
Jerian Grant $ 1,643,040
Galloway $ 845,059
Cap Hold1 $ 543,471
Cap Hold2 $ 543,471
Cap Hold3 $ 543,471
--------------------------------
Team Totals $53,289,835
Projected Cap $92,000,000
Cap Space $37,954,388
For me, I'd go Batum $15-17M, Bazemore $10-12M, and hope Pau Gasol would take the remaining on a 2 year deal ~$9M. If the Knicks could move KOQ for a second rounder to entice Gasol with more $, I would do that. I'd only think about signing Rondo to a 1 year deal, but I would give him Bazemore's slot. I think you can go over the cap with LT.
Rolo
KP
Melo
Batum
Bazemore/Rondo
Gasol, Willy, Jordan Bachynski
LT
Gallo, Antetokounmpo
Grant, Trice
What the hell, I added some Dleaguers for good measure.