git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158728
91177308-0d34-0410-b5e6-
96231b3b80d8
with these commands. (You must be using ``Autoconf`` version 2.59 or later
and your ``aclocal`` version should be 1.9 or later.)
-.. code-block:: bash
+ .. code-block:: bash
- % cd autoconf
- % ./AutoRegen.sh
+ % cd autoconf
+ % ./AutoRegen.sh
6. Run ``configure`` in the directory in which you want to place object code.
Use the following options to tell your project where it can find LLVM:
For example, to link ``libsample.so``, you would have the following line in
your ``Makefile``:
-.. code-block:: Makefile
+ .. code-block:: Makefile
- LIBS += -lsample
+ LIBS += -lsample
Note that ``LIBS`` must occur in the Makefile after the inclusion of
``Makefile.common``.