Let $[X,S^1]$ denote the set of pointed homotopy classes of maps $f:X\to S^1$. I need to show that, when $S^1$ is viewed as a subset of $\mathbb{C}$, complex multiplication induces a group structure on $[X,S^1]$ such that the bijection $T:[X,S^1] \to H^1(X;\mathbb{Z})$ is an isomorphism. This bijection is given as Theorem 4.57 in Hatcher's Algebraic Topology; namely, given $f:X\to S^1$, the bijection is given by $T([f]) = f^*(\alpha)$, where $\alpha$ is a generator of $H^1(S^1;\mathbb{Z})$.
I know that $[S^1,S^1]$ is the same as $\pi_1(S^1)$, which already has a group structure; moreover, if $X$ is $S^1$ the operation of complex multiplication is the same as that on $\pi_1(S^1)$. The result holds for $X = S^1$, but I can't figure out how to generalize it.
Since $S^1$ is a $K(\mathbb{Z},1)$, I considered using the adjoint relation to show that $[X,S^1] = [\sum X, K(\mathbb{Z},2)]$, but I can't figure out where to go from here, either. Any help would be most appreciated.