[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-liquidwar6] Custom controller
From: |
Christian Mauduit |
Subject: |
Re: [Help-liquidwar6] Custom controller |
Date: |
Tue, 15 Dec 2009 18:27:57 +0100 (CET) |
User-agent: |
SquirrelMail/1.4.15 |
Hi,
On Tue, December 15, 2009 1:02 pm, Andy Armstrong wrote:
> Hi.
>
> I would like to add a new library to the compilation path as I need its
> functionality.
>
> The library is called liblo.la and liblo.a
>
> They exist in my directory like this:
>
> liquidwars/src/lib/lo/liblo.la etc - the header file is here also.
>
> Where do i add them to the makefile to satisfy my build errors.
You need to edit Makefile.am in the directory where your files are
supposed to be linked. Probably src/lib/Makefile.am in your case.
Then in this file you need to modify the AM_LDFLAGS value, and maybe also
the libliquidwar6_la_LIBADD and libliquidwar6_la_LDFLAGS values, I'm not
sure, it's been ages since I didn't modify a Makefile.am file.
Given the fact your liblo seems sort of local and not linkable "system
wide" I suspect the best move is to modify libliquidwar6_la_LIBADD and add
something like "lo/liblo" instead of the "-llo" you would add to a classic
LDFLAGS values.
Then change to source directory, run "autoreconf", and things should be fine.
Welcome to automake ;)
Have a nice day,
Christian.
--
Christian Mauduit <address@hidden> - http://deca.ufoot.org ___ __/\__
Liquid War 6 - http://www.gnu.org/software/liquidwar6 / _")\~ \~/
"Les amis de la vérité sont ceux qui la cherchent et non _/ / /_ o_\
ceux qui se vantent de l'avoir trouvée" - Condorcet (__/ \/
- Re: [Help-liquidwar6] Custom controller, (continued)
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/11
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/13
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/13
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/15
- Re: [Help-liquidwar6] Custom controller,
Christian Mauduit <=
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/15
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/15
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/22
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/23
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/11