Prerequisite:

- Build the static libraries libpng.lib and zlib.lib (see WIN.txt)

How to build all SDL libraries required to run the SDL client:

- Create a \SDL directory in the same root directory as your \PWMAngband folder
- Download and unzip SDL 1.2.15 in the \SDL directory:
	http://www.libsdl.org/download-1.2.php
- In \SDL\SDL-1.2.15, replace the following files by the ones in \PWMAngband\src\SDL:
	\include\begin_code.h
	\include\SDL_stdinc.h
- Download and unzip FreeType 2.9.1 in the \SDL directory:
	http://sourceforge.net/projects/freetype/files
- In \SDL\freetype-2.9.1, replace the following file by the one in \PWMAngband\src\fix:
	\include\freetype\config\ftconfig.h
- Download and unzip SDL_ttf 2.0.11 in the \SDL directory:
	https://www.libsdl.org/projects/SDL_ttf/release-1.2.html
- Download and unzip SDL_image 1.2.12 in the \SDL directory:
	https://www.libsdl.org/projects/SDL_image/release-1.2.html
- Download and unzip MAD 0.15.1b in the \SDL directory:
	http://sourceforge.net/projects/mad/files/libmad/0.15.1b
- In \SDL\libmad-0.15.1b, replace layer3.c by the one in \PWMAngband\src\fix to remove compile errors
- Download and unzip SDL_mixer 1.2.12 in the \SDL directory:
	https://www.libsdl.org/projects/SDL_mixer/release-1.2.html
- Run \PWMAngband\src\SDL.bat