I am using a makefile in which if I pass options in the command line like
make OPT1=opt1 OPT1=2
I get a different behavior than if I edit Makefile and write there
OPT1=opt1
OPT2=opt2
and then then run
make
on the command line.
The behavior I want is the one where I use the options in the command line.Right now I am using an alias but I am interested in knowing if this can be done purely with the Makefile alone.
Thanks.