From d410fac7cf7945e47dfb36ccc47acf57ef65cbb5 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Fri, 27 Apr 2007 11:25:43 +0000 Subject: Added linux Makefile for ggee stk external and removed deprecated STK includes svn path=/trunk/externals/ggee/; revision=7608 --- experimental/Makefile.linux | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 experimental/Makefile.linux (limited to 'experimental/Makefile.linux') 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 + -- cgit v1.2.1