scummvm/engines/cge2/module.mk
aryanrawlani28 29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00

41 lines
696 B
Makefile

MODULE := engines/cge2
MODULE_OBJS = \
cge2.o \
vga13h.o \
bitmap.o \
fileio.o \
sound.o \
cge2_main.o \
text.o \
hero.o \
snail.o \
spare.o \
talk.o \
events.o \
map.o \
metaengine.o \
vmenu.o \
saveload.o \
toolbar.o \
inventory.o \
console.o
# This module can be built as a plugin
ifeq ($(ENABLE_CGE2), DYNAMIC_PLUGIN)
PLUGIN := 1
endif
# Include common rules
include $(srcdir)/rules.mk
# Detection objects
DETECT_OBJS += $(MODULE)/detection.o
# Skip building the following objects if a static
# module is enabled, because it already has the contents.
ifneq ($(ENABLE_CGE2), STATIC_PLUGIN)
# External dependencies for detection.
DETECT_OBJS += $(MODULE)/fileio.o
endif