mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
Fix bug in documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d022471260
commit
17a4c3ecfb
@ -144,15 +144,24 @@ First thing you need to do is create a new directory somewhere in the LLVM
|
|||||||
source base. For this example, we'll assume that you made
|
source base. For this example, we'll assume that you made
|
||||||
"<tt>lib/Transforms/Hello</tt>". The first thing you must do is set up a build
|
"<tt>lib/Transforms/Hello</tt>". The first thing you must do is set up a build
|
||||||
script (Makefile) that will compile the source code for the new pass. To do
|
script (Makefile) that will compile the source code for the new pass. To do
|
||||||
this, copy this into "<tt>Makefile</tt>":<p>
|
this, copy this into "<tt>Makefile</tt>" (be very careful that there are no
|
||||||
|
extra space characters at the end of the lines though... that seems to confuse
|
||||||
|
<tt>gmake</tt>):<p>
|
||||||
|
|
||||||
</ul><hr><ul><pre>
|
</ul><hr><ul><pre>
|
||||||
# Makefile for hello pass
|
# Makefile for hello pass
|
||||||
LEVEL = ../../.. # Path to top level of LLVM heirarchy
|
|
||||||
LIBRARYNAME = hello # Name of the library to build
|
|
||||||
SHARED_LIBRARY = 1 # Build a dynamically loadable shared object
|
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common # Include the makefile implementation stuff
|
# Path to top level of LLVM heirarchy
|
||||||
|
LEVEL = ../../..
|
||||||
|
|
||||||
|
# Name of the library to build
|
||||||
|
LIBRARYNAME = hello
|
||||||
|
|
||||||
|
# Build a dynamically loadable shared object
|
||||||
|
SHARED_LIBRARY = 1
|
||||||
|
|
||||||
|
# Include the makefile implementation stuff
|
||||||
|
include $(LEVEL)/Makefile.common
|
||||||
</pre></ul><hr><ul><p>
|
</pre></ul><hr><ul><p>
|
||||||
|
|
||||||
This makefile specifies that all of the <tt>.cpp</tt> files in the current
|
This makefile specifies that all of the <tt>.cpp</tt> files in the current
|
||||||
@ -966,6 +975,6 @@ href="#Pass"><tt>Pass</tt></a>, only the other way around.<p>
|
|||||||
<address><a href="mailto:sabre@nondot.org">Christopher Lattner</a></address>
|
<address><a href="mailto:sabre@nondot.org">Christopher Lattner</a></address>
|
||||||
<!-- Created: Tue Aug 6 15:00:33 CDT 2002 -->
|
<!-- Created: Tue Aug 6 15:00:33 CDT 2002 -->
|
||||||
<!-- hhmts start -->
|
<!-- hhmts start -->
|
||||||
Last modified: Thu Aug 8 15:16:18 CDT 2002
|
Last modified: Wed Aug 14 15:04:56 CDT 2002
|
||||||
<!-- hhmts end -->
|
<!-- hhmts end -->
|
||||||
</font></body></html>
|
</font></body></html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user