automake
[Top][All Lists]
Advanced

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

Multiple source files with the same name


From: Martin Frydl
Subject: Multiple source files with the same name
Date: Mon, 15 Oct 2001 19:37:57 +0200

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

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