This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Any difference between LDADD = ... and myprogram_LDADD = ... ???
- From: <cs at gnumatica dot com>
- To: automake at gnu dot org
- Date: Mon, 21 Apr 2003 17:16:12 -0700 (MST)
- Subject: Any difference between LDADD = ... and myprogram_LDADD = ... ???
Any difference between
LDADD = -l...
and
myprogram_LDADD = -l...
Will the first add -lpthread, -lm, etc. to ALL
bin_PROGRAMS guys even if not needed???
So.... if I only have 1 executable then LDADD is
good enough but if I have 3 executables then
I'll link in unneeded junk if I don't use the
second?
Chris