G. Szekeres, *Quart. J. Math. (Oxford)* **4**(2) (1953), 96-111, obtains an asymptotic formula for $p(n,m)$ valid uniformly for all $n$ and $m$.