This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: obstack and alloca: one for few subdirectories?


On May 31, 1999, Valentin Kamyshenko <val@kamysh.materials.kiev.ua> wrote:

> I'd like, instead, to put them in a separate directory, and, if they
> are needed, to build a library (or just object files), which could
> be linked to executables.

> Is it possible?

Sure!  Just create a libutil.a out of $(LIBOBJS) and $(ALLOCA), and
LDADD it to all your programs.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]