[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating "Additional" makefiles
From: |
Stephen Brandon |
Subject: |
Re: Creating "Additional" makefiles |
Date: |
Tue, 27 Nov 2001 19:04:24 +0000 |
On Tuesday 27 Nov 2001 12:57 pm, Nicola Pero wrote:
> It's quite possible that you don't need Additional makefiles at all.
> Even if you need them, try keeping them as simple as possible ...
> You do this by specifying
>
> LIBRARIES_DEPEND_UPON = -lshout -lmp2lib
>
> in the GNUmakefile for your library/framework ... when the library is
> compiled, you can check with ldd that the library is linked against those
> external libraries ... anything linked against your library will be
> automatically linked against those external libraries ...
OK, that worked great! There's a similar setup for Win32 (that is, it
actually *requires* pre-linking like this) which I'm about to reboot into
Win2000 and try. Thanks for the tip.
Cheers,
Stephen