1MODULE := engines/cge
2
3MODULE_OBJS := \
4	bitmap.o \
5	cge.o \
6	cge_main.o \
7	console.o \
8	events.o \
9	fileio.o \
10	game.o \
11	metaengine.o \
12	snail.o \
13	sound.o \
14	talk.o \
15	text.o \
16	vga13h.o \
17	vmenu.o \
18	walk.o
19
20MODULE_DIRS += \
21	engines/cge
22
23# This module can be built as a plugin
24ifeq ($(ENABLE_CGE), DYNAMIC_PLUGIN)
25PLUGIN := 1
26endif
27
28# Include common rules
29include $(srcdir)/rules.mk
30
31# Detection objects
32DETECT_OBJS += $(MODULE)/detection.o
33
34# Skip building the following objects if a static
35# module is enabled, because it already has the contents.
36ifneq ($(ENABLE_CGE), STATIC_PLUGIN)
37# External dependencies for detection.
38DETECT_OBJS += $(MODULE)/fileio.o
39endif
40