I would like to do the following. I don't know whether it's possible to do it. If possible I would like to know how to do it.
make VAR1=arg1,arg2,arg3
based on the arg I would like to pass a switch to gcc.
For example,
if arg1 and arg2 are passed I would like to define a switch and if arg2 and arg3 are passed I would like to define another switch in the make file. How do I do that?