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]

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








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