How to get the invoking target of the gnu makefile?
for example, I invoke the makefile with the following command line:
make a-target
How can I get the invoking target "a-target" in the makefile to assign it to a variable?
further more, if more than one target is specified in cmd line:
make target1 target2 ...
How to get all of them?