root/trunk/thirdparty/cl-gd-0.5.6/Makefile

Revision 2737, 395 bytes (checked in by hans, 10 months ago)

MacOSX changes

Line 
1 # this should work for FreeBSD and most Linux distros
2
3 cl-gd-glue.so:
4         gcc -I/usr/local/include -fPIC -c cl-gd-glue.c
5         ld -shared -lgd -lz -lpng -ljpeg -lfreetype -liconv -lm -lc cl-gd-glue.o -o cl-gd-glue.so -L/usr/local/lib
6         rm cl-gd-glue.o
7
8 # this should work for Mac OS X
9
10 cl-gd-glue.dylib:
11         gcc -lgd -ljpeg -dynamiclib cl-gd-glue.c -o cl-gd-glue.dylib -I/opt/local/include -L/opt/local/lib
Note: See TracBrowser for help on using the browser.