scummvm/engines/private/module.mk
Eugene Sandulenko 400a79797c
MAKE: Fix custom rules after in engine makefiles
The variable was renamed in 2f05960913
but the engine configs were not updated accordingly
2024-05-28 23:53:52 +02:00

34 lines
580 B
Makefile

MODULE := engines/private
MODULE_OBJS := \
code.o \
cursors.o \
decompiler.o \
funcs.o \
grammar.o \
lexer.o \
metaengine.o \
private.o \
symbol.o
MODULE_DIRS += \
engines/private
# HACK: Skip this when including the file for detection objects.
ifeq "$(LOAD_RULES_MK)" "1"
private-grammar:
flex engines/private/lexer.l
bison engines/private/grammar.y
endif
# This module can be built as a plugin
ifeq ($(ENABLE_PRIVATE), DYNAMIC_PLUGIN)
PLUGIN := 1
endif
# Include common rules
include $(srcdir)/rules.mk
# Detection objects
DETECT_OBJS += $(MODULE)/detection.o