2007-06-28 10:47:08 -07:00
|
|
|
SRC_FILES= codeprint.c \
|
|
|
|
event.c \
|
|
|
|
evntsave.c \
|
|
|
|
interp.c \
|
|
|
|
script.c \
|
2006-02-28 22:12:28 -08:00
|
|
|
script_parser.c \
|
|
|
|
script_lexer.c \
|
2007-06-28 10:47:08 -07:00
|
|
|
stack.c
|
|
|
|
|
|
|
|
LIBS=framework
|
|
|
|
|
|
|
|
LIB=script
|
|
|
|
|
|
|
|
MAKERULES=../../makerules
|
|
|
|
include $(MAKERULES)/lib.mk
|
|
|
|
|
2006-02-28 22:12:28 -08:00
|
|
|
script_lexer.c: script_lexer.l
|
2007-06-28 10:47:08 -07:00
|
|
|
flex $(<)
|
|
|
|
mv lex.scr_.c $@
|
|
|
|
|
2006-02-28 22:12:28 -08:00
|
|
|
script_parser.c script_y.h: script_parser.y
|
2007-06-28 10:47:08 -07:00
|
|
|
bison -d script_parser.y
|
2006-02-28 22:12:28 -08:00
|
|
|
mv script_parser.tab.c script_parser.c
|
2007-06-28 10:47:08 -07:00
|
|
|
mv script_parser.tab.h script_parser.h
|
|
|
|
|