import os

common_env = Environment()

include_paths = ['include']
lib_paths = [  ]

common_env.Append( CPPPATH = [ os.path.abspath(p) for p in include_paths ] )
#common_env.Append( CCFLAGS = ['-g','-Wall', '-DDEBUG' ] )
common_env.Append( CCFLAGS = ['-O3','-m64', '-Wall','-DNDEBUG'] )
common_env.Append( LIBS=[ 'cppunit', 'dl' ])
common_env.Append( LIBPATH=[ os.path.abspath(p) for p in lib_paths ] )


Export('common_env')
src_objs = SConscript( 'src/SConscript', 'common_env' )
if src_objs is None : print "src_objs is None"

common_env.Library( 'libdnnf', src_objs )
