diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | helpers/Makefile | 32 |
2 files changed, 33 insertions, 1 deletions
@@ -19,7 +19,7 @@ CMakeCache.txt CMakeFiles MD5SUM -Makefile +./Makefile build cmake_install.cmake config.log diff --git a/helpers/Makefile b/helpers/Makefile new file mode 100644 index 00000000..d332cacf --- /dev/null +++ b/helpers/Makefile @@ -0,0 +1,32 @@ + +all: download glapi.py glxapi.py wglapi.py + +download: \ + enum.spec \ + enumext.spec \ + gl.spec \ + gl.tm \ + glxenum.spec \ + glxenumext.spec \ + glx.spec \ + glxext.spec \ + glx.tm \ + wglenum.spec \ + wglenumext.spec \ + wgl.spec \ + wglext.spec \ + wgl.tm + +%.spec %.tm: + wget -N http://www.opengl.org/registry/api/$@ + +glapi.py: spec.py gl.tm gl.spec + python spec.py gl gl.tm gl.spec > $@ + +glxapi.py: spec.py glx.tm glx.spec glxext.spec + python spec.py glX glx.tm glx.spec glxext.spec > $@ + +wglapi.py: spec.py wgl.tm wgl.spec wglext.spec + python spec.py wgl wgl.tm wgl.spec wglext.spec > $@ + +.PRECIOUS: %.spec %.tm |