if he likes sports tell him he's good at sports if he spikes his hair tell him it looks good tell him his clothes are cool and trendy and things like that, find out his interests and compliment him...
Actually, it depends. What do you think it depends on. What and how he complements. Not all the time is he trying to get you out. Sometimes it can mean he is just being polite. Have you known him...