Teaching your dog to respond to a whistle is no different than teaching him to come to a verbal cue.
Begin by whistling and delivering a treat right after. Repeat until your dog looks at you when he hears the whistle.  
The more ways you have to call your dog to you, the better it is.

Whistle Recall