It means he is making a rude gesture.
C. "Wearing a wet half smile, her ancient dog sullenly waddled toward me like Yoda greeting Luke." —Student essay
An essay that describes a special scene, and really provides the reader with the emotions that are suppose to be portrayed at the time