Heres the question, if hes not romantically interested you, why on earth would you allow him to flirt with you like that? THAT is not a friend who cares about looking out for you. That is a self serving little boy who likes the benefits of tugging at a girls precious heart without ever meaning to give any commitment beyond an acquaintance.
Sounds like a pretty pathetic one sided friendship to me and that is no friendship, putting it bluntly. Don't be a fool. Confront him on what he is doing, and if he is genuinely a friend he will honourably stop what he is doing (or ask you to be his girlfriend), if not he will get defensive, sneakily lay the blame at your door and deliberately avoid you, which will instantly tell you that he is guilty and knows it.
Sounds like a pretty pathetic one sided friendship to me and that is no friendship, putting it bluntly. Don't be a fool. Confront him on what he is doing, and if he is genuinely a friend he will honourably stop what he is doing (or ask you to be his girlfriend), if not he will get defensive, sneakily lay the blame at your door and deliberately avoid you, which will instantly tell you that he is guilty and knows it.
What are the "benefits" of flirting?
When a relationship develops naturally, there is no awkward confrontation. Some people like to flirt and some people don't. I don't think there is a he/she is a turd cause they are single and flirty.