2009-04-12 19:56:59 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
2009-09-18 19:56:49 +00:00
|
|
|
import sys
|
2009-04-12 19:56:59 +00:00
|
|
|
|
|
|
|
dtenv = env.Clone()
|
|
|
|
|
|
|
|
files = [
|
|
|
|
'main.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
libs = [
|
|
|
|
'dspcore',
|
2009-04-12 21:30:22 +00:00
|
|
|
'common',
|
2009-04-12 19:56:59 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
dtenv.Append(CXXFLAGS = [ '-fPIC' ],
|
|
|
|
LIBS = libs)
|
2009-09-18 19:56:49 +00:00
|
|
|
if sys.platform == 'darwin':
|
|
|
|
dtenv['FRAMEWORKS'] = ['CoreFoundation', 'Cocoa', 'System']
|
2009-04-12 19:56:59 +00:00
|
|
|
|
|
|
|
dtenv.Program(dtenv['binary_dir'] + 'dsptool', files)
|