24 lines
351 B
Python
24 lines
351 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
dtenv = env.Clone()
|
|
|
|
files = [
|
|
'main.cpp',
|
|
]
|
|
|
|
libs = [
|
|
'dspcore',
|
|
'common',
|
|
]
|
|
|
|
|
|
dtenv.Append(CXXFLAGS = [ '-fPIC' ],
|
|
LIBS = libs)
|
|
if sys.platform == 'darwin':
|
|
dtenv['FRAMEWORKS'] = ['CoreFoundation', 'Cocoa', 'System']
|
|
|
|
dtenv.Program(dtenv['binary_dir'] + 'dsptool', files)
|