Building libpng, libjpeg and libtiff on Windows

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

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 --disable-shared
$ make all install

Copy the licenses:

libpng

$ cp LICENSE /c/met.no/copyright/libpng.txt

jpeg

$ cp README /c/met.no/copyright/jpeg.txt

tiff

$ cp COPYRIGHT /c/met.no/copyright/tiff.txt