diff options
author | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-12-19 03:13:06 -0800 |
---|---|---|
committer | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-12-19 03:13:06 -0800 |
commit | 32b62fb19254793a231f221ec87958c6183755ed (patch) | |
tree | b3f9108fd7bc0e31122e56a90d825c3d145637f5 /build |
Initial import.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/bin/sh +#wget http://cgit.freedesktop.org/mesa/mesa/plain/src/mapi/glapi/gen/gl_API.xml +rm -f libGL.so +gcc -O2 gen.c -o gen `xml2-config --libs --cflags` &&\ +./gen &&\ +gcc -O2 -s -c -fPIC -DPIC main.c -o main.lo &&\ +ld -Bshareable -o ./libGL.so main.lo -lm -ldl +#rm -f main.c main.lo gen + |