[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The %.o: %.cc rule
From: |
Raja R Harinath |
Subject: |
Re: The %.o: %.cc rule |
Date: |
05 Jun 2001 12:10:17 -0500 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 |
Tom Tromey <address@hidden> writes:
>>>>>> "Hair" == Raja R Harinath <address@hidden> 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 ------------------------------ address@hidden
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash
- The %.o: %.cc rule, Clark Rawlins, 2001/06/03
- Re: The %.o: %.cc rule, Harlan Stenn, 2001/06/03
- Re: The %.o: %.cc rule, Clark Rawlins, 2001/06/04
- Re: The %.o: %.cc rule, Tom Tromey, 2001/06/04
- Re: The %.o: %.cc rule, Clark Rawlins, 2001/06/04
- Re: The %.o: %.cc rule, Raja R Harinath, 2001/06/04
- Re: The %.o: %.cc rule, Tom Tromey, 2001/06/05
- Re: The %.o: %.cc rule, Clark Rawlins, 2001/06/05
- Re: The %.o: %.cc rule,
Raja R Harinath <=