|
From: | Russell Kliese |
Subject: | Re: trying to find a good solution to filename clash |
Date: | Sat, 17 Feb 2007 20:59:55 +1000 |
User-agent: | Icedove 1.5.0.9 (X11/20061220) |
>/ 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'/ I think that you want to put "subdir-objects" in yourAUTOMAKE_OPTIONS.
Thanks Ben, that option does what I need and it works like a charm! Following is the line I added to my Makefile.am: AUTOMAKE_OPTIONS = subdir-objects
[Prev in Thread] | Current Thread | [Next in Thread] |