Hello,

        I'm trying to build shared library from multiple directories. There are
some files with the same names. I'm getting this message:

        automake: Makefile.am: object `file.lo' created by `subdir/file.cpp'
and `file.cpp'

        My Makefile.am looks like this:

        lib_LTLIBRARIES = libmylib.la
        libmylib_la_SOURCES = file.cpp subdir/file.cpp

        Is there any possibility how to use multiple files with the same name
as sources for one library (program)? Or should I rename them so that
they don't collide?

        Thanks
                Martin Frydl

Reply via email to