From a7b850566e6bf04e29e38698aa43f7d5b4acf60c Mon Sep 17 00:00:00 2001 From: "B. Bogart" Date: Thu, 19 Mar 2009 20:33:40 +0000 Subject: First functional version of gphoto PD external. svn path=/trunk/externals/bbogart/; revision=10878 --- gphoto/makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 gphoto/makefile (limited to 'gphoto/makefile') diff --git a/gphoto/makefile b/gphoto/makefile new file mode 100644 index 0000000..f87381e --- /dev/null +++ b/gphoto/makefile @@ -0,0 +1,25 @@ +current: + echo make pd_linux + +clean: ; rm -f *.pd_linux *.o + +# ----------------------- LINUX i386 ----------------------- + +pd_linux: gphoto.pd_linux + +.SUFFIXES: .pd_linux + +LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \ + -Wall -W -Wshadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch \ + -lgphoto2 -lpthread + +LINUXINCLUDE = -I../../src + +.c.pd_linux: + cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c -ggdb + ld -shared -o $*.pd_linux $*.o -lc -lm -lgphoto2 + strip --strip-unneeded $*.pd_linux + rm $*.o + + -- cgit v1.2.1