Building libpng, libjpeg and libtiff on Windows

Download and extract the correct versions of zlib, libpng, jpeg and tiff:

Package	Location	Version
libpng	http://sourceforge.net/projects/libpng/files/	1.2.40
jpeg	http://www.ijg.org/files/	8
tiff	ftp://ftp.remotesensing.org/pub/libtiff/	3.9.2

Build them in the order in which they are listed in the table.

In each case, after extracting, run the following commands:

$ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/include ./configure --prefix=/c/met.no
$ make all install