automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Object files in subfolders


From: Jan Engelhardt
Subject: Re: Object files in subfolders
Date: Wed, 1 Apr 2009 15:33:43 +0200 (CEST)
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

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

[Prev in Thread] Current Thread [Next in Thread]