Convert a single c source file targetting EZ-Draw to an html5/javascript webpage.

Requirements:
Emscripten, an llvm to javascript converter (http://code.google.com/p/emscripten/, follow guide for installation)
The LLVM-2.9 compiler infrastructure (http://llvm.org)
V8 javascript engine, text-based interpreter called "d8" (http://code.google.com/p/v8/)

To build a project, run:
./build-project.sh source.c output-dir/

Limitations:
- not pixel perfect
- external fonts need to be specified with browser understandable names ("8pt Arial")
- key mapping is far from complete
- some games are buggy
- pointer arithmetics, bits manipulations are not supported (by Emscripten)
- cannot move windows

Compatibilty:
Any html5 browser that supports the canvas tag (Firefox 3.5+, Chromium 6+)

License:
GPL v3+

Installing requirements:
* V8:
    tutorial for ubuntu: http://geekin.gs/install-google-v8-on-ubuntu-hardy-64bit
    svn checkout http://v8.googlecode.com/svn/trunk/ v8
    CXX=g++-4.4 CFLAGS=-m32 scons mode=release snapshot=on librart=static d8
* LLVM:
    download clang binaries for your system from http://llvm.org/releases/download.html#2.9
* emscripten
    git checkout git://github.com/kripken/emscripten.git
* jsmin
    compile from provided source or download from http://www.crockford.com/javascript/jsmin.c
