diff options
author | Jamie Bullock <postlude@users.sourceforge.net> | 2007-04-27 11:25:43 +0000 |
---|---|---|
committer | Jamie Bullock <postlude@users.sourceforge.net> | 2007-04-27 11:25:43 +0000 |
commit | d410fac7cf7945e47dfb36ccc47acf57ef65cbb5 (patch) | |
tree | b3112b3fc688d29bc0ac4464bd6d7cc958868467 | |
parent | ffe0233ceb9d0e3b03b4a81561d68a85339cb1df (diff) |
Added linux Makefile for ggee stk external and removed deprecated STK includes
svn path=/trunk/externals/ggee/; revision=7608
-rw-r--r-- | experimental/Makefile.linux | 34 | ||||
-rwxr-xr-x | experimental/stk.h | 6 |
2 files changed, 37 insertions, 3 deletions
diff --git a/experimental/Makefile.linux b/experimental/Makefile.linux new file mode 100644 index 0000000..ab7d09f --- /dev/null +++ b/experimental/Makefile.linux @@ -0,0 +1,34 @@ +NAME=stk
+current: pd_linux
+
+# TARGETS += stk
+
+PDDIR = /usr/local/lib/pd
+INSTALLPATH = $(PDDIR)/extra
+VERSION = \"0.16\"
+
+# ----------------------- Linux -----------------------
+
+pd_linux: $(NAME).pd_linux
+
+.SUFFIXES: .pd_linux
+
+LINUXCFLAGS = -ggdb -DPD -O3 -fPIC -funroll-loops -fomit-frame-pointer \
+ -W -Wshadow -Wno-unused -Wno-parentheses -Wno-switch
+
+LINUXINCLUDE = -I/usr/include -I/usr/local/include/stk
+
+.cpp.pd_linux:
+ g++ $(LINUXCFLAGS) $(LINUXINCLUDE) -c $(NAME).cpp
+ g++ -export_dynamic -shared -o $(NAME).pd_linux $(NAME).o -lc -lstk
+ strip --strip-unneeded $(NAME).pd_linux
+ rm -f *.o
+# -------------------------------------------------------
+
+clean:
+ rm *.pd_linux
+
+install:
+ cp $(NAME).pd_* $(INSTALLPATH)
+ install -d $(PDDIR)/doc/5.reference/$(NAME)-help.pd
+
diff --git a/experimental/stk.h b/experimental/stk.h index 9b7dfaf..fa3c91a 100755 --- a/experimental/stk.h +++ b/experimental/stk.h @@ -75,9 +75,9 @@ #include<Sphere.h> #include<StifKarp.h> #include<SubNoise.h> -#include<Table.h> -#include<TcpWvIn.h> -#include<TcpWvOut.h> +//#include<Table.h> +//#include<TcpWvIn.h> +//#include<TcpWvOut.h> #include<Thread.h> #include<TubeBell.h> #include<TwoPole.h> |