makefile with arguments code example
Example 1: can makefile commands take parameters
make foo=bar target
#use $(foo) to obtain the value of the foo parameter (leave quotes out for string values)
#target is the command name
Example 2: makefile parameter
make foo=bar target