aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-08-14 16:02:25 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit07acdb84336380b6de1cf72a27116b3b60ee3599 (patch)
tree5aa2dd0fe7afa82019987ddf99a4f70bbcf27a6f /engines/testbed
parent54c37f6f46531d4b7995bcda9677c7646f6622a3 (diff)
downloadscummvm-rg350-07acdb84336380b6de1cf72a27116b3b60ee3599.tar.gz
scummvm-rg350-07acdb84336380b6de1cf72a27116b3b60ee3599.tar.bz2
scummvm-rg350-07acdb84336380b6de1cf72a27116b3b60ee3599.zip
TESTBED: Don't build TTS tests if TTS is disabled
Diffstat (limited to 'engines/testbed')
-rw-r--r--engines/testbed/module.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/testbed/module.mk b/engines/testbed/module.mk
index 0dcbfb7411..afbba5ce94 100644
--- a/engines/testbed/module.mk
+++ b/engines/testbed/module.mk
@@ -12,7 +12,6 @@ MODULE_OBJS := \
savegame.o \
sound.o \
encoding.o \
- speech.o \
testbed.o \
testsuite.o
@@ -28,6 +27,11 @@ MODULE_OBJS += \
webserver.o
endif
+ifdef USE_TTS
+MODULE_OBJS += \
+ speech.o
+endif
+
MODULE_DIRS += \
engines/testbed