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.
This commit is contained in:
+13
-2
@@ -141,6 +141,15 @@ DO_LEX = LEX_MSG
|
|||||||
#DO_YACC = YACC_ACT
|
#DO_YACC = YACC_ACT
|
||||||
#DO_LEX = LEX_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.
|
# - Specify your yacc and lex programs (or work-alikes) here.
|
||||||
|
|
||||||
YACC = bison -y
|
YACC = bison -y
|
||||||
@@ -157,8 +166,10 @@ LEX = flex
|
|||||||
FLEXSKEL =
|
FLEXSKEL =
|
||||||
#FLEXSKEL = -S../tools/flex.ske
|
#FLEXSKEL = -S../tools/flex.ske
|
||||||
|
|
||||||
YTABC = y.tab.c
|
#YTABC = y.tab.c
|
||||||
YTABH = y.tab.h
|
#YTABH = y.tab.h
|
||||||
|
YTABC = y_tab.c
|
||||||
|
YTABH = y_tab.h
|
||||||
LEXYYC = lex.yy.c
|
LEXYYC = lex.yy.c
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user