From 3c050000c6918b77a353583999e6e810aa675fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?llu=C3=ADs=20g=C3=B3mez=20i=20bigord=C3=A0?= Date: Wed, 24 Oct 2007 20:37:21 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r8875, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/pdvjtools/; revision=8876 --- imagegrid/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 imagegrid/Makefile (limited to 'imagegrid/Makefile') diff --git a/imagegrid/Makefile b/imagegrid/Makefile new file mode 100755 index 0000000..ccfe750 --- /dev/null +++ b/imagegrid/Makefile @@ -0,0 +1,38 @@ +PD_SRC=../../src + +NAME=imagegrid +CSYM=imagegrid + +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 -ansi -O -Wall -Wmissing-prototypes magickconverter.c +# ./tk2c.bash < $*.tk > $*.tk2c + cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c + ld -export_dynamic -shared -o $*.pd_linux $*.o cua.o magickconverter.o -lc -lm -lMagick `Wand-config --ldflags --libs` + 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 + -- cgit v1.2.1