rolandoam / ChesterGL

A simple and performant WebGL game library for 2D games
Other
105 stars 16 forks source link

Crossplatform Makefile #34

Closed coolhome closed 11 years ago

coolhome commented 11 years ago

I propose we replace the Makefile with something cross-platform.

I wrote my own version using Python. I chose python because if you are going to compile you will already have python installed.

My python script: https://gist.github.com/coolhome/4993248 Example Usuage:

C:/Python27/python.exe compile.py -mode=release -docs -clib ./closure-library -ccompiler ./closure-library -jsdoc ./jsdoc-toolkit -python C:\python27\python.exe

It's not an exact copy of the Makefile but it has most of it.

rolandoam commented 11 years ago

very nice! thanks :)

You're right in the sense that it's a bigger possibility to have python installed than make, specially on windows. Feel free to issue a pull request with the python script. Otherwise I can add it if you want.

Thanks!