aboutsummaryrefslogtreecommitdiff
path: root/engines/director/module.mk
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director/module.mk')
-rw-r--r--engines/director/module.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/engines/director/module.mk b/engines/director/module.mk
new file mode 100644
index 0000000000..c37e9d9b9b
--- /dev/null
+++ b/engines/director/module.mk
@@ -0,0 +1,33 @@
+MODULE := engines/director
+
+MODULE_OBJS = \
+ detection.o \
+ director.o \
+ frame.o \
+ images.o \
+ movie.o \
+ resource.o \
+ score.o \
+ sound.o \
+ sprite.o \
+ lingo/lingo-gr.o \
+ lingo/lingo.o \
+ lingo/lingo-builtins.o \
+ lingo/lingo-code.o \
+ lingo/lingo-codegen.o \
+ lingo/lingo-funcs.o \
+ lingo/lingo-lex.o \
+ lingo/lingo-the.o
+
+director-grammar:
+ flex -o engines/director/lingo/lingo-lex.cpp engines/director/lingo/lingo-lex.l
+ bison -dv -o engines/director/lingo/lingo-gr.cpp engines/director/lingo/lingo-gr.y
+ mv engines/director/lingo/lingo-gr.hpp engines/director/lingo/lingo-gr.h
+
+# This module can be built as a plugin
+ifeq ($(ENABLE_DIRECTOR), DYNAMIC_PLUGIN)
+PLUGIN := 1
+endif
+
+# Include common rules
+include $(srcdir)/rules.mk