Green’s Dictionary of Slang

rake (it) in v.

also rake, rake together, rake up

[mid-19C+] to make a great deal of money.