Building zlib and bzip2 on Windows

Download and extract the correct versions of zlib and bzip2:

To build zlib, run the following commands after extracting the source code:

$ make -f win32/Makefile.gcc INCLUDE_PATH=/mingw/include LIBRARY_PATH=/c/met.no/lib all install
$ rm /c/met.no/lib/libzdll.a
$ cp README /c/met.no/copyright/zlib.txt

To build bzip2, run the following commands after extracting the source code:

$ make
$ cp libbz2.a /c/met.no/lib
$ cp LICENSE /c/met.no/copyright/bzip2.txt