[llvm-commits] [hlvm] r38221 - /hlvm/trunk/docs/GettingStarted.html
Reid Spencer
reid at x10sys.com
Sat Jul 7 17:01:17 PDT 2007
Author: reid
Date: Sat Jul 7 19:01:17 2007
New Revision: 38221
URL: http://llvm.org/viewvc/llvm-project?rev=38221&view=rev
Log:
Provide some tips and tricks on using the Makefile.
Modified:
hlvm/trunk/docs/GettingStarted.html
Modified: hlvm/trunk/docs/GettingStarted.html
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/docs/GettingStarted.html?rev=38221&r1=38220&r2=38221&view=diff
==============================================================================
--- hlvm/trunk/docs/GettingStarted.html (original)
+++ hlvm/trunk/docs/GettingStarted.html Sat Jul 7 19:01:17 2007
@@ -38,6 +38,7 @@
<li><a href="#make">Building HLVM With Make</a>
<ol>
<li><a href="#make_targets">Targets Supported</a></li>
+ <li><a href="#tipsntricks">Tips And Tricks</a></li>
</ol>
</li>
</ol>
@@ -619,6 +620,18 @@
in the <tt>hlvm</tt> directory and instead descends into the <tt>tools</tt>
and builds the executable tools there.</dd>
</dl>
+ <h2><a name="tipsntricks">Tips And Tricks</a></h2>
+ <ul>
+ <li><em>Override MYMODE</em>. On the <tt>make</tt> command line you can
+ override the value of <tt>MYMODE</tt> makefile variable. This allows you to
+ use any of the usual targets with a different build mode. For example,
+ suppose your <tt>Makefile</tt> specifies a value of "Debug" for
+ <tt>MYMODE</tt>. This situation indicates that the "Debug" configuration
+ will be used for all regular builds. However, if you want to install the
+ Release version, say, you could issue this command:<pre>
+ make install MYMODE=Release</pre></li>
+ </ul>
+
</div>
</body>
</html>
More information about the llvm-commits
mailing list