>/ 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'/
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'
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/