aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2005-06-16 13:04:10 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:59 +0200
commit4d376dc11618b760ff2dac83f32d0a052250ab6c (patch)
tree66fb1211827080172f260315b1eeb43fd05f34fa
parentd1ed55f96f9cecc818844006fb36cd58ca70da5e (diff)
linux only scons script
svn path=/trunk/externals/tb/; revision=3193
-rw-r--r--chaos/SConstruct43
1 files changed, 43 insertions, 0 deletions
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')