This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lex & yacc with C++ projects


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]