summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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