From 4d376dc11618b760ff2dac83f32d0a052250ab6c Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Thu, 16 Jun 2005 13:04:10 +0000 Subject: linux only scons script svn path=/trunk/externals/tb/; revision=3193 --- chaos/SConstruct | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 chaos/SConstruct (limited to 'chaos/SConstruct') diff --git a/chaos/SConstruct b/chaos/SConstruct new file mode 100644 index 0000000..3dcf513 --- /dev/null +++ b/chaos/SConstruct @@ -0,0 +1,43 @@ +systems = Split("""bernoulli + bungalow_tent + circle_map + coupled_logistic + chua + delayed_logistic + driven_anharmonic + driven_van_der_pol + duffing_map + gauss_map + gaussian_map + henon_map + hydrogen + ikeda_laser_map + latoocarfian + latoomutalpha + latoomutbeta + latoomutgamma + logistic + lorenz + lozi_map + roessler + sine_map + standard_map + tent_map""") + +sources = [] + +env = Environment(CCFLAGS = '-O3 -g -mtune=pentium-m -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -I~/pd/devel/pd/src/ -I/usr/local/include/flext -DFLEXT_SYS_PD -DFLEXT_THREADS -DFLEXT_SHARED') + +for system in systems: + sources.append(system+"_dsp.cpp") + sources.append(system+"_msg.cpp") + sources.append(system+"_search.cpp") +sources += Split("main.cpp ode_base.cpp") + +sources = map(lambda x: "./src/"+x, sources) + +chaos = env.SharedLibrary('chaos', sources, LIBS = 'flext-pd_d', + SHLIBPREFIX='', SHLIBSUFFIX='.pd_linux') + +env.Install('/usr/local/lib/pd/extra',chaos) +env.Alias('install', '/usr/local/lib/pd/extra') -- cgit v1.2.1