This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Multiple source files with the same name
- To: automake at gnu dot org
- Subject: Multiple source files with the same name
- From: Martin Frydl <martin at idoox dot com>
- Date: Mon, 15 Oct 2001 19:37:57 +0200
- List-Id: Discussion list for automake <automake.gnu.org>
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