Tom Tromey <[EMAIL PROTECTED]> writes:
>>>>>> "Hair" == Raja R Harinath <[EMAIL PROTECTED]> writes:
>Clark> test_SOURCES = d1/s1.cc d2/s2.cc
>
>Hair> Try using
>Hair> AUTOMAKE_OPTIONS = subdir-objects
>
> subdir-objects will cause Makefile to build d1/s1.o and d2/s2.o.
> Without it, the above test_SOURCES will still work but the .o files
> will end up in `.'.
Yep. I forgot to include the actual context of the original question.
> Clark> I am attempting to modify automake to support paths and want
> Clark> the output files to end up in the same directory structure as
> Clark> the original files.
That seems to suggest he wasn't aware of 'subdir-objects'.
- Hari
--
Raja R Harinath ------------------------------ [EMAIL PROTECTED]
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash