Both words mean house.
ghar means both house and (in the more abstract sense) home.
makaan suggests a building/structure specifically.
A rabbit can go into it's ghar, but the the rabbit's ghar is probably not a makaan.
makaan, by the way, is of Arabic origin whereas ghar is Indic.