[Top][All Lists]

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

Placing libraries in single central directory

From: antoon
Subject: Placing libraries in single central directory
Date: Tue, 3 Apr 2007 00:44:19 -0700 (PDT)


As a newbie in Automake, I succeeded in generating a library *libarea.a*
from some simple C-files, by

include $(top_srcdir)/
lib_LIBRARIES = libarea.a
# Language: C language
libarea_a_SOURCES = checkdep.c \
                  drawdept.c \


By default this library is placed in the same directory as the C-files.

But ...  how to copy this library afterwards to a general *lib* directory,
because  during the overall linkage step of my code, I want all my libraries
in one single directory.  You can do something like this, by make install
but that's not what I mean.

Some help would be nice !

Thanks, Antoon

View this message in context:
Sent from the Gnu - Automake - General mailing list archive at

reply via email to

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