Go to the first, previous, next, last section, table of contents.


How do I organize my Makefile to use the library ?

Put the following line at the top of your Makefile:


	include /usr/local/lib/ocaml/camlimages/Makefile.config

The library directory can be different, if the library is installed somewhere else. The variables COMPFLAGS_CAMLIMAGES and LINKFLAGS_CAMLIMAGES are defined in Makefile.config; you should add them to the compiler and linker options. A sample Makefile is available as sample/Makefile.sample.


Go to the first, previous, next, last section, table of contents.