automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with problem...


From: Tim Van Holder
Subject: Re: Need help with problem...
Date: Tue, 25 Sep 2001 23:51:09 +0200

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

[Prev in Thread] Current Thread [Next in Thread]