On Wednesday 2009-04-01 15:21, Johnson, Chris wrote:
>
>src /
>   foo /
>      bar.cpp
>   baz /
>      bar.cpp
>
>Once I run my bootstrap command I get something like the following error
>   
>Error: src/Makefile.am: object bar.$(OBJEXT) created by foo/bar.cpp and
>baz/bar.cpp
>
>Basically I'd like the have the object files placed into the associated
>subfolder for that cpp file, how do I go about doing this ?

Use subdir-objects, e.g.

AM_INIT_AUTOMAKE([subdir-objects])


Reply via email to