blob: 9a2dd4b8780fbc4226ead10df6f1d93a9e31f6ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
update: \
GL/glext.h \
GL/glxext.h \
GL/wglext.h \
EGL/egl.h \
EGL/eglext.h \
EGL/eglplatform.h \
KHR/khrplatform.h \
GLES/gl.h \
GLES/glext.h \
GLES/glplatform.h \
GLES2/gl2.h \
GLES2/gl2ext.h \
GLES2/gl2platform.h
GL/wglext.h GL/glxext.h: FORCE
wget -O $@ "https://www.opengl.org/registry/api/$@"
GL/glext.h: GL/glext.patch FORCE
wget -O $@ "https://www.opengl.org/registry/api/$@"
patch $@ $<
EGL/egl.h EGL/eglext.h KHR/khrplatform.h: FORCE
wget -O $@ "https://www.khronos.org/registry/egl/api/$@"
EGL/eglplatform.h: EGL/eglplatform.patch FORCE
wget -O $@ "https://www.khronos.org/registry/egl/api/$@"
patch $@ $<
GLES/gl.h GLES/glplatform.h: FORCE
wget -O $@ "https://www.khronos.org/registry/gles/api/$@"
GLES/glext.h: GLES/glext.patch FORCE
wget -O $@ "https://www.khronos.org/registry/gles/api/$@"
patch $@ $<
GLES2/gl2.h GLES2/gl2ext.h GLES2/gl2platform.h: FORCE
wget -O $@ "https://www.khronos.org/registry/gles/api/$@"
.PHONY: update
FORCE:
|