blob: f02203bd04bc332b4ccf2063b44ae6261b6e4300 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import glob
import os
import re
Import('env prefix')
# generate custom z_zexy files
os.system('test -e src/z_zexy.h && rm src/z_zexy.*')
zexy_src = glob.glob('src/*.c')
os.system('cd src && sh makesource.sh')
zexy = env.SharedLibrary(target = 'zexy', source = zexy_src)
env.Alias('install', env.Install(os.path.join(prefix, 'extra'), zexy))
env.Alias('install', env.Install(os.path.join(prefix, 'doc/5.reference/zexy'), glob.glob('examples/*.pd')))
Default(zexy)
|