Nedko Arnaudov a écrit :
Florent Berthaut <hitmuri(a)no-log.org> writes:
Do you manage to compile the entire application
after that?
nope, scons tries to build rc/audio/audioEvent.o again.
Ok, try with this SConstruct
Flo
env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/freetype2
-I/usr/include/libxml2/ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32
-march=i386
-fasynchronous-unwind-tables',LIBS=['asound','Xft','Xrender','fontconfig','freetype','z','X11','fltk','pthread','m','Xext','xml2','z','jack','sndfile','samplerate'])
base = Split('src/base/main.cpp src/base/tapeutape.cpp src/base/instrument.cpp
src/base/setup.cpp src/base/kit.cpp src/base/variation.cpp src/base/tapParser.cpp
src/base/tap.cpp')
audio = Split('src/audio/sample.cpp src/audio/jackProcess.cpp
src/audio/audioEvent.cpp')
midi = Split('src/midi/midiProcess.cpp')
ui = Split('src/ui/execWindow.cpp')
tapeutape = env.Program('tapeutape',base+audio+midi+ui)
env.Install('/usr/bin', tapeutape)
env.Alias('install', '/usr/bin')