This is an old revision of the document!
Building the Shapefile library on Windows
First, get the latest source from http://download.osgeo.org/shapelib and extract it in a convenient place.
This library does not have a build system to speak of. The Makefile is so broken it's not even funny.
$ make -f Makefile.met.no CC=gcc PREFIX=/c/met.no all install