This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: lex & yacc with C++ projects
- From: Guido Draheim <guidod-2002- at gmx dot de>
- To: Robert Collins <robert dot collins at itdomain dot com dot au>, automake at gnu dot org
- Date: Fri, 26 Apr 2002 12:57:29 +0200
- Subject: Re: lex & yacc with C++ projects
- References: <FC169E059D1A0442A04C40F86D9BA7600C5F10@itdomain003.itdomain.net.au>
- Reply-to: guidod at gmx dot de
Es schrieb Robert Collins:
>
> It would be nice to be able to tell automake that we want to compile the
> out of lex and yaxx with g++, not gcc. (this is for C++ projects).
rename mysource.l -> mysource.ll
rename mysource.y -> mysource.yy
and that's it. Were the manual pages confusing about that?
Or is there another problem that is not obvious to me...
>
> Is there any way to do this currently?
>
> At the moment I've got the .cc files listed as BUILT_SOURCES, and custom
> rules to make them. This isn't very satisfactory, as depcomp doesn't
> then operate (or I copy the exact rule from Makefile.in and get tightly
> bound to a version of automake...)
>