From a532573829d32dd0b5e6a920b68cec62bbeb1e9a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 25 Nov 2010 11:22:24 +0000 Subject: [PATCH] Makefile for the helpers. --- .gitignore | 2 +- helpers/Makefile | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 helpers/Makefile diff --git a/.gitignore b/.gitignore index 47f025e..6a73307 100644 --- a/.gitignore +++ b/.gitignore @@ -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 0000000..d332cac --- /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 -- 2.43.0