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]
Other format: [Raw text]

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





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