Please, no HTML.

> lib_LTLIBRARIES = libfoo.la 
> libfoo_la_SOURCES = \ 
>     one.c \ 
>     one.cpp \ 
>     two.c \ 
>     two.cpp 

IIRC, Automake 1.5 supports subdirectories; using

lib_LTLIBRARIES = libfoo.la 
libfoo_la_SOURCES = \ 
    c/one.c \ 
    cpp/one.cpp \ 
    c/two.c \ 
    cpp/two.cpp 

should get you what you want the easiest way.
You may have to add 'subdir-objects' to AUTOMAKE_OPTIONS
for this to work; check the docs.


Reply via email to