This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
is LDADD line the place to put .a convenience libraries AS WELL AS-l switches?? like -lm??? how works?
- From: <cs at gnumatica dot com>
- To: automake at gnu dot org
- Date: Mon, 21 Apr 2003 17:10:39 -0700 (MST)
- Subject: is LDADD line the place to put .a convenience libraries AS WELL AS-l switches?? like -lm??? how works?
I added a line in Makefile.am like so:
LDADD = helperfunctions/libhelperfunctions.a -lpthread -lm
First of all, is the LDADD line the place to add .a files
as well as -l switches???
I'm a little impressed and amazed Autotools was able
to accept /both/ types of animals on the LDADD line.
Did I get lucky or is LDADD the place to *always* add
both of these guys?
Chris