How to set value of any macro (`define) from command line

I have a similar issue as kumarmohit has. How can I override the value of the define ABC to 3 from the command line?