tech-toolchain archive

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

Re: make: dealing with targets with multiple outputs



In article <27887.1560240087%splode.eterna.com.au@localhost>,
matthew green  <mrg%eterna.com.au@localhost> wrote:
>"Simon J. Gerraty" writes:
>> David Holland <dholland-tech%netbsd.org@localhost> wrote:
>> > No, the special target should be for the unusual case.
>> > 
>> > The usual case is:
>> > 
>> >    y.tab.c y.tab.h: foo.y
>> >            $(YACC) -d foo.y
>> 
>> Sorry I've been away...
>> 
>> AFAIK yacc is normally handled via suffix rules.
>> How is that case handled?
>
>AFAICT, yacc handling is currently poor and is (part of)
>what dholland is trying to propose a fix for.

I think we should be trying to fix this by first implementing pattern rules
instead of introducing new syntax.

christos



Home | Main Index | Thread Index | Old Index