Use My Samsung Smart TV Remote to Control My DirecTV Reciever?

So just got a new Samsung Smart TV and we set it up, and it's set up to control the TV but I was wondering if there is a way to connect the remote that came with my TV to the DirecTV reciever so I can control it both with just one remote? Thanks.