Target = "nearmiss" Install = "/usr/local/bin" InstallScripts = "/usr/local/lib/plt/collects/fluxus-0.14" LibPaths = Split("/usr/local/lib") IncludePaths = Split("/usr/local/include src") Libs = Split("m sndfile jack lo") Source = Split("src/Sample.cpp \ src/SearchPaths.cpp \ src/AsyncSampleLoader.cpp \ src/Allocator.cpp \ src/CommandRingBuffer.cpp \ src/Event.cpp \ src/EventQueue.cpp \ src/JackClient.cpp \ src/OSCServer.cpp \ src/RingBuffer.cpp \ src/Time.cpp \ src/Modules.cpp \ src/NearMiss.cpp \ src/Sampler.cpp \ src/SampleStore.cpp \ src/GraphNode.cpp \ src/ModuleNodes.cpp \ src/Graph.cpp \ src/main.cpp") Scripts = Split ("scheme/nearmiss.ss") env = Environment(CCFLAGS = '-pipe -Wall -O3 -ggdb -ffast-math -Wno-unused -fPIC') env.Program(source = Source, target = Target, LIBS=Libs, LIBPATH=LibPaths) env.Install(Install, Target) env.Alias('install', Install) env.Install(InstallScripts, Scripts) env.Alias('install', InstallScripts)