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 /experimental/Makefile.linux | |
parent | ffe0233ceb9d0e3b03b4a81561d68a85339cb1df (diff) |
Added linux Makefile for ggee stk external and removed deprecated STK includes
svn path=/trunk/externals/ggee/; revision=7608
Diffstat (limited to 'experimental/Makefile.linux')
-rw-r--r-- | experimental/Makefile.linux | 34 |
1 files changed, 34 insertions, 0 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
+
|