diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2013-07-26 11:23:13 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2013-07-26 11:23:13 +0200 |
commit | de232895ac390d09ed242deaadbccbe4812b15bd (patch) | |
tree | 613566afa1ec31586793b15c3f226f1fdf531951 /samples/OpenGL/x11argb_opengl_glsl/Makefile | |
parent | 4842cb28522a89c0a6d800139b934001484fadbe (diff) | |
download | codesamples-de232895ac390d09ed242deaadbccbe4812b15bd.tar.gz codesamples-de232895ac390d09ed242deaadbccbe4812b15bd.tar.bz2 |
added glXCreateContextAttrib to x11argb_opengl_glsl example
Diffstat (limited to 'samples/OpenGL/x11argb_opengl_glsl/Makefile')
-rw-r--r-- | samples/OpenGL/x11argb_opengl_glsl/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/samples/OpenGL/x11argb_opengl_glsl/Makefile b/samples/OpenGL/x11argb_opengl_glsl/Makefile index b59feea..62e3496 100644 --- a/samples/OpenGL/x11argb_opengl_glsl/Makefile +++ b/samples/OpenGL/x11argb_opengl_glsl/Makefile @@ -1,3 +1,10 @@ +.PHONY: all + +all: x11argb_opengl_glsl x11argb_opengl_glsl3 + x11argb_opengl_glsl: x11argb_opengl_glsl.c Makefile - clang -std=c99 -g3 -o x11argb_opengl_glsl x11argb_opengl_glsl.c -lX11 -lXrender -lGLEW -lm + cc -std=c99 -g3 -o x11argb_opengl_glsl x11argb_opengl_glsl.c -lX11 -lXrender -lGLEW -lm + +x11argb_opengl_glsl3: x11argb_opengl_glsl.c Makefile + cc -std=c99 -g3 -o x11argb_opengl_glsl3 -D USE_GLX_CREATE_CONTEXT_ATTRIB x11argb_opengl_glsl.c -lX11 -lXrender -lGLEW -lm |