aboutsummaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2005-04-12 08:20:55 +0000
committercarmen rocco <ix9@users.sourceforge.net>2005-04-12 08:20:55 +0000
commite34e664471aa151b11e2f61a2acbe8066bb56c62 (patch)
tree33021f40c36a1861246ac9dd14d6956e10cbe8d2 /SConscript
parent85b56e5a2ba4ecccdf5b411ba1245f6cbdcc6719 (diff)
zexy!!!
svn path=/trunk/externals/zexy/; revision=2718
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/SConscript b/SConscript
index e69de29..657a476 100644
--- a/SConscript
+++ b/SConscript
@@ -0,0 +1,13 @@
+import glob
+import os
+import re
+Import('env prefix')
+
+# generate custom z_zexy files
+os.system('rm z_zexy.* 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))
+Default(zexy)