Macroscopic entanglement by entanglement swapping