From 97bc9a321e47401045d6c5ea70ec88fd5c2d4e74 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Mon, 30 Dec 2002 12:00:29 +0000 Subject: [PATCH] Borland Makefile (from Yitzhak) > This patch adds a bit of help on where a win32 bison/flex port can be > downloaded, how to set it up, and provides default settings for that >port. It seems the homepage has been stable for at least four years. >The bison outputs from this port are y_tab.c and such, so I changed >the defaults in the makefile to be such. The flex output is yy.lex.c. >One question that was fwd'd to me after the release dealt with >using bison and flex. --- sys/winnt/Makefile.bcc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/sys/winnt/Makefile.bcc b/sys/winnt/Makefile.bcc index 593296128..e3b769c49 100644 --- a/sys/winnt/Makefile.bcc +++ b/sys/winnt/Makefile.bcc @@ -141,6 +141,15 @@ DO_LEX = LEX_MSG #DO_YACC = YACC_ACT #DO_LEX = LEX_ACT +# Wilbur Streett's Win32 ports of GNU bison and flex are available at: +# http://www.monmouth.com/~wstreett/lex-yacc/lex-yacc.html +# +# To use them, download the executables and templates (bison.simple, +# bison.hairy) to some directory, and set the environment variables +# BISON_SIMPLE and BISON_HAIRY to point to this directory. +# +# The following settings are configured for Wilbur Streett's ports. + # - Specify your yacc and lex programs (or work-alikes) here. YACC = bison -y @@ -157,8 +166,10 @@ LEX = flex FLEXSKEL = #FLEXSKEL = -S../tools/flex.ske -YTABC = y.tab.c -YTABH = y.tab.h +#YTABC = y.tab.c +#YTABH = y.tab.h +YTABC = y_tab.c +YTABH = y_tab.h LEXYYC = lex.yy.c #