about summary refs log tree commit diff
path: root/default.bam
diff options
context:
space:
mode:
Diffstat (limited to 'default.bam')
-rw-r--r--default.bam8
1 files changed, 7 insertions, 1 deletions
diff --git a/default.bam b/default.bam
index e7d26718..a4902b4e 100644
--- a/default.bam
+++ b/default.bam
@@ -88,6 +88,12 @@ AddDependency(server_content_source, server_content_header)
 nethash = CHash("src/game/generated/nethash.c", "src/engine/e_protocol.h", "src/game/generated/g_protocol.hpp", "src/game/tuning.hpp", "src/game/gamecore.cpp", network_header)
 
 client_link_other = {}
+client_depends = {}
+
+if family == "windows" then
+	table.insert(client_depends, Copy(".", "other\\sdl\\vc2005libs\\SDL.dll"))
+end
+	
 
 if config.compiler.value == "cl" then
 	client_link_other = {ResCompile("other/icons/teeworlds.rc")}
@@ -219,7 +225,7 @@ function build(settings)
 		engine, zlib)
 
 	-- make targets
-	c = PseudoTarget("client".."_"..settings.config_name, client_exe)
+	c = PseudoTarget("client".."_"..settings.config_name, client_exe, client_depends)
 	s = PseudoTarget("server".."_"..settings.config_name, server_exe)
 	g = PseudoTarget("game".."_"..settings.config_name, client_exe, server_exe)