automake
[Top][All Lists]
Advanced

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

Re: lex & yacc with C++ projects


From: Guido Draheim
Subject: Re: lex & yacc with C++ projects
Date: Fri, 26 Apr 2002 12:57:29 +0200

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...)
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]