[openbeos] Re: Announcing rc, the resource compiler

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 17 Feb 2003 16:13:23 +0100 CET

"Matthijs Hollemans" <matthijs@xxxxxxxxxxxxxxxxxxx> wrote:
> > Instead of tampering with the existing rules -- maybe
> > confusing people relying on that behavior -- I would
> > propose to rather rename the input files (`*.l' -> `*.lpp',
> > `*.y' -> `*.ypp' or to `*.lcpp' and `*.ycpp') and add
> > rules for dealing with those.
> I'd rather not rename the input files. Is it possible to write
> custom rules for these two files and put these rules only in the
> Jamfile for rc, without having to rename them? Alternatively, is it
> possible to rename the output files, or maybe pass additional
> options (-o) to the Jam lex/yacc targets? (You have to pass -d to
> bison anyway in order to have it generate a header file.) If not, I
> guess renaming is the only option, but then I'd prefer the
> extensions *.ll and *.yy.

.y and friends are the standard extension, I wouldn't use any others 
for clearity.


Other related posts: