aboutsummaryrefslogtreecommitdiff
path: root/engines/director/module.mk
blob: 90d27e7413765905d972b396247a9f624b8ef492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
MODULE := engines/director

MODULE_OBJS = \
	detection.o \
	dib.o \
	director.o \
	movie.o \
	resource.o \
	score.o \
	sound.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

engines/director/lingo/lingo-lex.cpp: engines/director/lingo/lingo-lex.l
	flex -o engines/director/lingo/lingo-lex.cpp engines/director/lingo/lingo-lex.l

engines/director/lingo/lingo-gr.cpp: engines/director/lingo/lingo-gr.y
	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