diff trunk/SConstruct @ 275:ce2bab04f155

- Imported file input using libsndfile from old AIM-C and updated to the new API - Modified the Module base class to propogate Reset() calls down the module chain. - This required changing all Reset() functions in subclasses to ResetInternal() - Removed some unneeded imports from the Gaussians test
author tomwalters
date Tue, 16 Feb 2010 18:00:16 +0000
parents c26222c51fb7
children 6b4921704eb1
line wrap: on
line diff
--- a/trunk/SConstruct	Tue Feb 16 13:23:23 2010 +0000
+++ b/trunk/SConstruct	Tue Feb 16 18:00:16 2010 +0000
@@ -95,7 +95,8 @@
 common_sources = ['Support/Common.cc',
                   'Support/SignalBank.cc',
                   'Support/Parameters.cc',
-                  'Support/Module.cc', 
+                  'Support/Module.cc',
+                  'Modules/Input/ModuleFileInput.cc',
                   'Modules/BMM/ModulePZFC.cc',
                   'Modules/NAP/ModuleHCL.cc',
                   #'Modules/SAI/ModuleSAI.cc',
@@ -116,7 +117,11 @@
 env.Append(CPPPATH = '#src')
 
 # Dependencies
-deplibs = ''
+deplibs = ['sndfile']
+
+for depname in deplibs:
+  env.ParseConfig('pkg-config --cflags --libs ' + depname)
+
 env.AppendUnique(LIBS = deplibs)
 
 # Set up the builder to build the program