[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: directory prefix on .o
From: |
Jan Engelhardt |
Subject: |
Re: directory prefix on .o |
Date: |
Fri, 10 Aug 2007 03:06:40 +0200 (CEST) |
On Aug 9 2007 19:08, NightStrike wrote:
>> Unfortunately, it does not seem like the directory is encoded into the
>> object file, hence automake will fail on me since it wants to use
>> hooks.o for both hooks.c files.
>>
>> Is it currently possible to make the directory part of the object name,
>> e.g. module1__hooks.o and module2__hooks.o for example? If not, I'm
>> going to cook up a patch (*), but I'd wanted to go sure such a feature is
>> not already available.
>
>Maybe this is what you need, from the automake manual:
>
>subdir-objects
> If this option is specified, then objects are placed into the
>subdirectory of the build directory corresponding to the subdirectory
>of the source file. For instance if the source file is
>subdir/file.cxx, then the output file would be subdir/file.o.
That's it, thank you very much.
Jan
--