]> git.donarmstrong.com Git - lilypond.git/blob - flower/SConscript
Update.
[lilypond.git] / flower / SConscript
1 # -*-python-*-
2
3 import glob
4 import os
5
6 ## this only works for BuildDir aliasing, not for scons -Y ../scrdir
7 here = os.getcwd ()
8 os.chdir (str (Dir ('.').srcnode ()))
9 sources = glob.glob ('*.cc')
10 os.chdir (here)
11
12 name = 'flower'
13 Import ('env')
14 e = env.Copy ()
15 e.Append (CPPPATH = ['include'])
16 if env['static']:
17         e.Library (name, sources) 
18 if not env['static'] or env['shared']:
19         e.SharedLibrary (name, sources)