[Top][All Lists]

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

[Bug-gnubg] Re: sgf.y and sgf.c

From: Øystein O Johansen
Subject: [Bug-gnubg] Re: sgf.y and sgf.c
Date: Mon, 17 Jun 2002 14:14:36 +0200

> Ah, I see -- the problem sounds as if make has an implicit
> rule for generating foo.c from foo.y with yacc.  (GNU make
> does this; I don't know about other makes.)  Does it help
> to add a rule:
>    sgf.c:
>            true
> to override the implicit rule?

Thanks, it looks like it works if I set:

  sgf.c: $(SRC)

> It might also be nice to add:
>    sgfp.c sgfp.h: sgf.y
>            $(BISON) -o $@ -p sgf -d $<
>    sgfl.c: sgf.l
>            $(FLEX) -o$@ -Psgf $<
> but those rules require Flex and Bison.

Yes this would be nice, but I don't really care!


The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.

reply via email to

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