summaryrefslogtreecommitdiffstats
path: root/tolua++-1.0.93/src/lib/SCsub
blob: 2f9a2469132b1c19755a9f68db137a86b47c7720 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Import('env')


sources = [
	'tolua_event.c',
	'tolua_is.c',
	'tolua_map.c',
	'tolua_push.c',
	'tolua_to.c',
	]

env.lib_target_static = env.Library('#/lib/'+env['tolua_lib']+'_static', sources)

if env['shared']:
	env.lib_target = env.SharedLibrary('#lib/'+env['tolua_lib'], sources)
else:
	env.lib_target = env.Library('#/lib/'+env['tolua_lib'], sources)