Re: trying to find a good solution to filename clash

2007-02-17 Thread Russell Kliese
>/ If my makefile contains roughly the following:/ > >/ lib_LIBRARIES = libfoo.a/ / > libfoo_a_SOURCES = foo1/exception.cpp foo2/exception.cpp/ > / > I end up with the following error:/ > / > Makefile.am: object `exception.$(OBJEXT)' created by/ / > `foo2/exception.cpp' and `foo1/exception.cpp'/

Re: trying to find a good solution to filename clash

2007-02-16 Thread Ben Pfaff
Russell Kliese <[EMAIL PROTECTED]> writes: > If my makefile contains roughly the following: > > lib_LIBRARIES = libfoo.a > libfoo_a_SOURCES = foo1/exception.cpp foo2/exception.cpp > > I end up with the following error: > > Makefile.am: object `exception.$(OBJEXT)' created by > `foo2/exception.cpp'

trying to find a good solution to filename clash

2007-02-16 Thread Russell Kliese
I've been having a hard time trying to find a solution to something I though should be quite strait-forward. Perhaps I've missed something obvious. I'm trying to create a Makefile.am to build some files in the following files/directory structure /lib/Makefile.am /lib/foo1/exception.cpp /lib/