make a habit of (doing something)
To follow a routine in which one does something habitually. I've made a habit of doing 50 pushups every morning when I get out of bed. If you make a habit of investing some of your spare income, you'll be pleasantly surprised how much can build up.
make a habit of something
to do something so often that it becomes a habit. You mustn't make a habit of interrupting. I make a habit of counting my change.