aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_titanic
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-13 12:57:32 +0200
committerEugene Sandulenko2017-08-13 12:57:32 +0200
commit933d634c32c3ed3470a082b6d3560e737ef250b1 (patch)
treeb2da87245000bfce79c7629a625eca533e50f0c4 /devtools/create_titanic
parent17625a640380fe9cee4b8ecda0cabf037cdffa3e (diff)
downloadscummvm-rg350-933d634c32c3ed3470a082b6d3560e737ef250b1.tar.gz
scummvm-rg350-933d634c32c3ed3470a082b6d3560e737ef250b1.tar.bz2
scummvm-rg350-933d634c32c3ed3470a082b6d3560e737ef250b1.zip
CONFIGURE: An (unsuccessful) attempt to add library dependencies to the tools
For some reason I cannot figure out how to enforce proper variable creation in a generic way. I'll keep reading the docs but maybe someone else could figure it out earlier
Diffstat (limited to 'devtools/create_titanic')
-rw-r--r--devtools/create_titanic/module.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/devtools/create_titanic/module.mk b/devtools/create_titanic/module.mk
index a762af3ab2..b86fe18a2e 100644
--- a/devtools/create_titanic/module.mk
+++ b/devtools/create_titanic/module.mk
@@ -1,4 +1,6 @@
+ifdef USE_ZLIB
+
MODULE := devtools/create_titanic
MODULE_OBJS := \
@@ -19,5 +21,10 @@ MODULE_OBJS := \
# Set the name of the executable
TOOL_EXECUTABLE := create_titanic
+TOOL_CFLAGS := $(ZLIB_CFLAGS)
+TOOL_LIBS := $(ZLIB_LIBS)
+
# Include common rules
include $(srcdir)/rules.mk
+
+endif