When I put the following: bin_PROGRAMS = foo
foo_SOURCES = src/foo.cc foo_LDADD = libbar.la into a Makefile.am, the foo_DEPENDENCIES target gets libbar.la added - even though it's not included in the source. libbar.la is present in /usr/lib or /usr/local/lib. How can I avoid the auto-setting of foo_DEPENDENCIES ? Rob