[Top][All Lists]

[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


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

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

        My looks like this:

        lib_LTLIBRARIES =
        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?

                Martin Frydl

reply via email to

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