28 lines
513 B
Plaintext
28 lines
513 B
Plaintext
top_srcdir=../..
|
|
top_builddir=$(top_srcdir)
|
|
|
|
include $(top_srcdir)/makerules/common.mk
|
|
|
|
# Due to the lexer's dependencies on the parser's header we need to compile the
|
|
# parsers first
|
|
PARSERS= \
|
|
chat_parser.tab.cpp \
|
|
chat_lexer.lex.cpp \
|
|
script_parser.tab.cpp \
|
|
script_lexer.lex.cpp
|
|
|
|
SRC= \
|
|
$(PARSERS) \
|
|
codeprint.cpp \
|
|
event.cpp \
|
|
eventsave.cpp \
|
|
interpreter.cpp \
|
|
script.cpp \
|
|
stack.cpp
|
|
|
|
LIB=script
|
|
|
|
CLEANFILES=chat_parser.tab.h script_parser.tab.h $(PARSERS)
|
|
|
|
include $(top_srcdir)/makerules/lib.mk
|