diff options
author | Kjetil S. Matheussen <ksvalast@users.sourceforge.net> | 2004-01-08 14:55:24 +0000 |
---|---|---|
committer | Kjetil S. Matheussen <ksvalast@users.sourceforge.net> | 2004-01-08 14:55:24 +0000 |
commit | e7001842641982a2698f759aa8014aacda6ce568 (patch) | |
tree | 95f7645accaeaf5f10c7187161ee045b3ce36153 /Makefile |
First commit of k_vst~, k_guile and k_cextsvn2git-root
svn path=/trunk/externals/k_vst~/; revision=1253
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..08b004d --- /dev/null +++ b/Makefile @@ -0,0 +1,38 @@ + + + +NAME=k_vst~ +CSYM=k_vst_tilde + +current: pd_linux + + +# ----------------------- LINUX i386 ----------------------- + +pd_linux: $(NAME).pd_linux + +.SUFFIXES: .pd_linux + +LINUXCFLAGS = -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer \ + -Wall -W -Wno-shadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch #-Werror + +LINUXINCLUDEPATH=../../src +LINUXINCLUDE = -I$(LINUXINCLUDEPATH) -I../../vstserver/include + +.c.pd_linux: + cc $(LINUXCFLAGS) $(LINUXINCLUDE) -I/site/include/wine -c $(NAME).c -I../include -DPLUGIN_TILDE_USE_VST -DPLUGIN_DEBUG -DPLUGIN_TILDE_VERBOSE + cc $(LINUXCFLAGS) $(LINUXINCLUDE) -I/site/include/wine -c plugin~_vst.c -I../include -DPLUGIN_TILDE_USE_VST -DPLUGIN_DEBUG -DPLUGIN_TILDE_VERBOSE + + ld -export_dynamic k_vst~.o plugin~_vst.o -shared -o $(NAME).pd_linux -lc -lm -L/usr/local/lib -L../../vstserver -lvst + strip --strip-unneeded $*.pd_linux + rm -f $*.o ../$*.pd_linux + ln -s k_vst~/$*.pd_linux .. + +# ---------------------------------------------------------- + +install: + cp help-*.pd ../../doc/5.reference + +clean: + rm -f *.o *.pd_* so_locations |