summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-08-17 18:19:27 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-08-17 18:19:27 +0200
commit57acd987aa7a22008f3254f99363937e4f7704c7 (patch)
tree1881dec8d1e1c49d9ff109711def371a8a2a5e7f
parente1f9e3c41c315b01b977a7caaa47afd0e4994d61 (diff)
Added updated SConstruct.
-rw-r--r--SConstruct7
1 files changed, 6 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index bf87dfe..e880366 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2,6 +2,10 @@ AddOption('--release', action = 'store_true')
env = Environment(CPPPATH = ['.'])
+conf = Configure(env)
+conf.CheckLib('mp3lame')
+env = conf.Finish()
+
env.Append(CCFLAGS = ['-std=c99'])
if GetOption('release'):
@@ -11,7 +15,8 @@ else:
env.ParseConfig('pkg-config --cflags --libs glib-2.0')
env.ParseConfig('pkg-config --cflags --libs gio-2.0')
+env.ParseConfig('pkg-config --cflags --libs libmpg123')
-env.Program('foo', Glob('*.c'))
+env.Program('foo', Glob('*.c') + Glob('decoders/*.c') + Glob('encoders/*.c'))
# vim: syn=python