2008-07-10 13:10:16 -07:00
|
|
|
top_srcdir=../..
|
|
|
|
top_builddir=$(top_srcdir)
|
|
|
|
|
2008-06-28 15:32:44 -07:00
|
|
|
include $(top_srcdir)/makerules/common.mk
|
2007-06-28 10:47:08 -07:00
|
|
|
|
2008-10-14 11:28:21 -07:00
|
|
|
# Due to the lexer's dependencies on the parser's header we need to compile the
|
|
|
|
# parsers first
|
|
|
|
PARSERS= \
|
2008-10-13 06:04:37 -07:00
|
|
|
chat_parser.tab.c \
|
2008-10-14 11:28:21 -07:00
|
|
|
chat_lexer.lex.c \
|
|
|
|
script_parser.tab.c \
|
|
|
|
script_lexer.lex.c
|
|
|
|
|
|
|
|
SRC= \
|
|
|
|
$(PARSERS) \
|
2008-10-13 06:04:37 -07:00
|
|
|
codeprint.c \
|
2006-07-21 14:48:55 -07:00
|
|
|
event.c \
|
2009-02-14 21:49:09 -08:00
|
|
|
eventsave.c \
|
|
|
|
interpreter.c \
|
2006-07-21 14:48:55 -07:00
|
|
|
script.c \
|
|
|
|
stack.c
|
2007-06-28 10:47:08 -07:00
|
|
|
|
|
|
|
LIB=script
|
|
|
|
|
2008-10-13 06:04:37 -07:00
|
|
|
CLEANFILES= \
|
|
|
|
chat_parser.tab.h \
|
|
|
|
script_parser.tab.h
|
2008-06-23 06:54:47 -07:00
|
|
|
|
2008-06-24 16:41:52 -07:00
|
|
|
include $(top_srcdir)/makerules/lib.mk
|