src/SConscript
branchpyrit
changeset 99 f3abdaa2e8fb
parent 93 96d65f841791
child 100 c005054bf4c1
equal deleted inserted replaced
98:64638385798a 99:f3abdaa2e8fb
    27 	env.Alias('python-module', pymodule)
    27 	env.Alias('python-module', pymodule)
    28 	Return('pymodule')
    28 	Return('pymodule')
    29 else:
    29 else:
    30 	objs = []
    30 	objs = []
    31 	for src in sources:
    31 	for src in sources:
    32 		objs.append( env.Object(src) )
    32 		o = env.Object(src)
       
    33 		objs.append( o )
       
    34 		if src == 'common.cc' or src == 'pixmap.cc':
       
    35 			env.Depends(o, '#build/include/config.h')
    33 	lib = env.StaticLibrary('pyrit', objs)
    36 	lib = env.StaticLibrary('pyrit', objs)
    34 	env.Alias('objs', objs)
    37 	env.Alias('objs', objs)
    35 	env.Alias('static-lib', lib)
    38 	env.Alias('static-lib', lib)
    36 	Return('lib')
    39 	Return('lib')