A scheme is presented for the generation of entangled states for two cavity mirrors. In the scheme each mirror initially in a vacuum state interacts with a weak coherent field, resulting in a photon-number dependent kick. The detection of a photon leaking from the cavities collapses the two mirrors to an entangled state.