Alexandre, > bin_PROGRAMS = foo > foo_SOURCES = bar.c bar.h main.c > foo_CFLAGS = -some -flags > foo_LDADD = libfoo.a > noinst_LIBRARIES = libfoo.a > libfoo_a_SOURCES = foo.c foo.h > libfoo_a_CFLAGS = -some -other -flags
Well, like all 'good answers' this one is obvious: I should have thought of it myself. Thank you! What you've written would be a nice addition to the FAQ. Thank you again! Cheers, Bruce