Created
January 30, 2013 05:56
-
-
Save mzgoddard/4671039 to your computer and use it in GitHub Desktop.
build instructions for OSX box2d emscripten
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/1974955 | |
brew install node spider-monkey closure-compiler yuicompressor | |
brew install llvm --with-clang | |
git clone git://github.com/kripken/emscripten.git | |
cd emscripten | |
./emcc | |
(mate|vim|emacs) ~/.emscripten | |
# Change EMSCRIPTEN and LLVM defaults | |
# EMSCRIPTEN - wherever you clone emscripten to | |
# LLVM on OSX is /usr/local/bin | |
git clone git://github.com/kripken/box2d.js.git | |
cd box2d | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment