diff options
-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> |