diff options
-rw-r--r-- | SConstruct | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |