scummvm/engines/cge/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

40 lines
671 B
Makefile

MODULE := engines/cge
MODULE_OBJS := \
bitmap.o \
cge.o \
cge_main.o \
console.o \
events.o \
fileio.o \
game.o \
metaengine.o \
snail.o \
sound.o \
talk.o \
text.o \
vga13h.o \
vmenu.o \
walk.o
MODULE_DIRS += \
engines/cge
# This module can be built as a plugin
ifeq ($(ENABLE_CGE), 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_CGE), STATIC_PLUGIN)
# External dependencies for detection.
DETECT_OBJS += $(MODULE)/fileio.o
endif