This is Exercise 2.2.2. from Weibel's An Introduction to Homological Algebra.
Suppose $A$ is an abelian category, if $A$ has enough projectives, then so does the category $Ch(A)$ of chain complex over $A$.
Weibel's hint is to use the fact: a chain complex $P$ ($P$ means each $P_n$ is a projective object in $A$) iff it's a split exact complex of projectives. And I have proven this. (For reference: one can find the two directions of the proof here and here.)
Let $B$ be a chain complex over $A$. Then for each $B_n$ we have a $P_n$ such that $P_n\rightarrow B_n$ is surjective.
I don't know how to get a differential $d_n: P_n\rightarrow P_{n-1}$ s.t. complex $P$ is split exact. I tried use the definition of $P_n$ to get a map from $P_n$ to $P_{n-1}$. But I don't know what to do next.