Making 'make clean' ask for confirmation : <p>Is there a way to make the command <code>make clean</code> require user confirmation? I mistakenly executed it and now I have to wait 6 hours for the build to complete again.</p>

<p>The <code>Makefile</code>s were created by <code>cmake</code>.</p>

<p>Desired workflow:</p>

<pre><code>&gt; make clean
&gt; [make] Are you sure you want to remove all the built files? [Y/N]
&gt; N
&gt; [make] Target 'make clean' not executed.

&gt; make clean
&gt; [make] Are you sure you want to remove all the built files? [Y/N]
&gt; Y
&gt; [make] Target 'make clean' executed.
</code></pre>
