This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Multiple source files with the same name


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]