title: Getting the name of the makefile from the makefile
body: <p>How to get the name of the makefile in the makefile?</p>
  
  <p>Thanks.</p>
  
  <p><strong>Note:</strong></p>
  
  <p>I would need that because I would like my makefile to call itself, but the makefile is not called Makefile, so I'd like to write something like this:</p>
  
  <pre><code>target:
      ($MAKE) -f ($MAKEFILENAME) other_target
  </code></pre>