On 6/29/07, <b class="gmail_sendername">Alexandru Ciobanu</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, Clark!<br><br>Here is the reason why I wanted to use this approach.<br><br>I use ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET because I don't want<br>to run that Makefile at all if the files did not change.<br><br>ADD_CUSTOM_TARGET with ALL parameter would always run make. And even if
<br>there<br>are no modifications to the source files, you'll see something like this<br>on the screen:<br> [make] I've been in that dir<br> [make] nothing to do there<br> [make] all targets ok, leaving, I'm done, etc..
<br>And this will appear every time you build.<br><br>I don't want that on my screen. It strains my eyes. I want a clean<br>output. =)<br><br>When combined, the above commands, always try to build the target, but<br>run make
<br>only when needed -> no extra stuff on the screen (unless modifications<br>detected).</blockquote><div><br> Thanks, Alex.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">