diff options
author | B. Bogart <bbogart@users.sourceforge.net> | 2009-03-19 20:33:40 +0000 |
---|---|---|
committer | B. Bogart <bbogart@users.sourceforge.net> | 2009-03-19 20:33:40 +0000 |
commit | a7b850566e6bf04e29e38698aa43f7d5b4acf60c (patch) | |
tree | 62c5f7a6089ff2b55a94d5f1cb56161b0aad9e53 /gphoto/makefile | |
parent | 8981c3e4bd8be9eee73692f81fcc76bb960f096b (diff) |
First functional version of gphoto PD external.
svn path=/trunk/externals/bbogart/; revision=10878
Diffstat (limited to 'gphoto/makefile')
-rw-r--r-- | gphoto/makefile | 25 |
1 files changed, 25 insertions, 0 deletions
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 + + |