From a676f9ce7a3ceef7f593a8467ff5ae83060c7223 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Mon, 8 Apr 2013 10:22:08 -0400
Subject: [PATCH] remaining clean-up and flext integration in the intel/rpi
 build process

---
 externals/iem16/src/tab16play~.d.8809         |  0
 ...pd-gcc.txt => config-lnx-pd-gcc.txt.intel} |  0
 l2ork_addons/flext/config-lnx-pd-gcc.txt.rpi  | 61 +++++++++++++++++++
 3 files changed, 61 insertions(+)
 delete mode 100644 externals/iem16/src/tab16play~.d.8809
 rename l2ork_addons/flext/{config-lnx-pd-gcc.txt => config-lnx-pd-gcc.txt.intel} (100%)
 create mode 100644 l2ork_addons/flext/config-lnx-pd-gcc.txt.rpi

diff --git a/externals/iem16/src/tab16play~.d.8809 b/externals/iem16/src/tab16play~.d.8809
deleted file mode 100644
index e69de29bb..000000000
diff --git a/l2ork_addons/flext/config-lnx-pd-gcc.txt b/l2ork_addons/flext/config-lnx-pd-gcc.txt.intel
similarity index 100%
rename from l2ork_addons/flext/config-lnx-pd-gcc.txt
rename to l2ork_addons/flext/config-lnx-pd-gcc.txt.intel
diff --git a/l2ork_addons/flext/config-lnx-pd-gcc.txt.rpi b/l2ork_addons/flext/config-lnx-pd-gcc.txt.rpi
new file mode 100644
index 000000000..16cb6368c
--- /dev/null
+++ b/l2ork_addons/flext/config-lnx-pd-gcc.txt.rpi
@@ -0,0 +1,61 @@
+# where is the PD source package?
+# (this should point to the main folder, which has a "src" subfolder)
+PDPATH=../../../../pd
+
+###############################################################
+
+# prefix for flext installation
+# headers are in $(FLEXTPREFIX)/include/flext
+# libraries are in $(FLEXTPREFIX)/lib
+# build system is in $(FLEXTPREFIX)/lib/flext
+
+FLEXTPREFIX=./libbuild
+
+###############################################################
+
+# where should the external be built?
+OUTPATH=pd-linux
+
+# where should the external be installed?
+INSTPATH=/usr/lib/pd/extra
+
+###############################################################
+
+# STK (synthesis tool kit) support
+# http://ccrma.stanford.edu/software/stk
+
+# where to find the STK header files (e.g. stk.h)
+STK_INC=/usr/include/stk
+
+# where to find the STK library (normally libstk.a)
+# (comment out STK_LIB if you don't use STK)
+#STK_LIB=/usr/lib/libstk.a
+
+###############################################################
+
+# SndObj support
+# http://music.nuim.ie//musictec/SndObj
+
+# where to find the SndObj header files (e.g. sndobj.h)
+SNDOBJ_INC=/usr/include/SndObj
+
+# where to find the SndObj library (normally libsndobj.a)
+# (comment out STK_LIB if you don't use SndObj)
+#SNDOBJ_LIB=/usr/lib/libsndobj.a
+
+###############################################################
+
+# make flags (e.g. use multiprocessor)
+# MFLAGS=-j 2
+
+# user defined compiler flags
+# (check if they match your system!)
+# UFLAGS=-msse -mfpmath=sse -ffast-math
+# don't overload new and delete operators
+UFLAGS+=-DFLEXT_USE_CMEM
+
+# user defined optimization flags
+# (check if they match your system!)
+OFLAGS=-O3
+# optimizations for Pentium 4
+# OFLAGS+=-march=pentium4 
-- 
GitLab