title: How can I automatically create (and remove) a temp directory in a Makefile?
body: <p>Is it possible to have <code>make</code> create a temp directory before it executes the first target? Maybe using some hack, some additional target etc.?</p>
  
  <p>All commands in the Makefile would be able to refer to the automatically created directory as <code>$TMPDIR</code>, and the directory would be automatically removed when the <code>make</code> command ends.</p>