src/SConscript
branchpyrit
changeset 99 f3abdaa2e8fb
parent 93 96d65f841791
child 100 c005054bf4c1
--- a/src/SConscript	Mon May 19 22:59:04 2008 +0200
+++ b/src/SConscript	Sun May 31 16:53:05 2009 +0200
@@ -29,7 +29,10 @@
 else:
 	objs = []
 	for src in sources:
-		objs.append( env.Object(src) )
+		o = env.Object(src)
+		objs.append( o )
+		if src == 'common.cc' or src == 'pixmap.cc':
+			env.Depends(o, '#build/include/config.h')
 	lib = env.StaticLibrary('pyrit', objs)
 	env.Alias('objs', objs)
 	env.Alias('static-lib', lib)