title: How to pass argument to Makefile from command line?
body: <p>How to pass argument to Makefile from command line?</p>
  <p>I understand I can do</p>
  <pre><code>$ make action VAR=&quot;value&quot;
  $ value
  </code></pre>
  <p>with <code>Makefile</code></p>
  <pre><code>VAR = &quot;default&quot;
  action:
      @echo $(VAR)
  </code></pre>
  <p>How do I get the following behavior?</p>
  <pre><code>$ make action value
  value
  </code></pre>
  <p>How about</p>
  <pre><code>$make action value1 value2
  value1 value2
  </code></pre>