libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to generate .lo files ?


From: Ralf Wildenhues
Subject: Re: Where to generate .lo files ?
Date: Tue, 3 Feb 2009 19:06:52 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Michel,

* Michel Briand wrote on Tue, Feb 03, 2009 at 06:09:11PM CET:
> 
> I wonder if it's possible to tell libtool to generate .lo file
> elsewhere than in source directory (where Makefile resides).

Yes:
  libtool --mode=compile $CC -o some/where/foo.lo -c else/where/foo.c

If you're using Automake, then you're probably looking for the Automake
option subdir-objects, which causes objects to put in directories along
the subdir of the source files provided.

Hope that helps.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]