diff options
author | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2007-10-24 20:37:21 +0000 |
---|---|---|
committer | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2007-10-24 20:37:21 +0000 |
commit | 3c050000c6918b77a353583999e6e810aa675fda (patch) | |
tree | fc6aab7c92efb156966f5c926517f2f02e7b417e /videogrid/Makefile |
This commit was generated by cvs2svn to compensate for changes in r8875,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/pdvjtools/; revision=8876
Diffstat (limited to 'videogrid/Makefile')
-rwxr-xr-x | videogrid/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/videogrid/Makefile b/videogrid/Makefile new file mode 100755 index 0000000..298532e --- /dev/null +++ b/videogrid/Makefile @@ -0,0 +1,38 @@ +PD_SRC=../../src + +NAME=videogrid +CSYM=videogrid + +current: pd_linux + +# ----------------------- LINUX ----------------------- + +pd_linux: $(NAME).pd_linux + +.SUFFIXES: .pd_linux + +LINUXCFLAGS = -fPIC -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer \ + -Wall -W -Wno-shadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch + + +LINUXINCLUDE = -I$(PD_SRC) -I/usr/include/ + +.c.pd_linux: + cc -fPIC -c -ansi -O -Wall -Wmissing-prototypes cua.c + cc -fPIC -c -O -Wall -Wmissing-prototypes -o qtconverter.o -c qtconverter.c +# ./tk2c.bash < $*.tk > $*.tk2c + cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c + ld -export_dynamic -shared -o $*.pd_linux $*.o cua.o qtconverter.o -lc -lm -lquicktime + strip --strip-unneeded $*.pd_linux + rm -f $*.o ../$*.pd_linux + ln -s $*/$*.pd_linux .. + +# ---------------------------------------------------------- + +install: + cp help-*.pd ../../doc/5.reference + +clean: + rm -f *.o *.pd_* so_locations + |