Blame heliantus/SConstruct
|
|
3f9996 |
|
|
|
3f9996 |
env = Environment()
|
|
|
3f9996 |
|
|
|
3f9996 |
|
|
|
3f9996 |
# config
|
|
|
3f9996 |
|
|
|
07b70f |
libs = ['gtk+-3.0', 'glib-2.0', 'cairo']
|
|
|
3f9996 |
|
|
|
3f9996 |
|
|
|
3f9996 |
# compute build options
|
|
|
3f9996 |
|
|
|
07b70f |
flags = ' -O0 -g -lm -Wall -fmessage-length=0 '
|
|
|
3f9996 |
|
|
|
3f9996 |
|
|
|
3f9996 |
# files lists
|
|
|
3f9996 |
|
|
|
07b70f |
target = 'heliantus'
|
|
|
3f9996 |
|
|
|
3f9996 |
sources = [
|
|
|
07b70f |
'animation.c',
|
|
|
07b70f |
'array.c',
|
|
|
07b70f |
'collider.c',
|
|
|
07b70f |
'common.c',
|
|
|
07b70f |
'drawing.c',
|
|
|
07b70f |
'group.c',
|
|
|
07b70f |
'sprite.c',
|
|
|
07b70f |
'world.c',
|
|
|
3f9996 |
'main.c' ]
|
|
|
3f9996 |
|
|
|
3f9996 |
|
|
|
3f9996 |
# build
|
|
|
3f9996 |
|
|
|
3f9996 |
env.ParseConfig('pkg-config --cflags --libs ' + ' '.join(libs))
|
|
|
3f9996 |
|
|
|
3f9996 |
env.Program(
|
|
|
3f9996 |
target = target,
|
|
|
3f9996 |
source = sources,
|
|
|
3f9996 |
parse_flags = flags )
|