diff options
Diffstat (limited to 'src/test-native/mesa-demos-patched/make.sh')
-rw-r--r-- | src/test-native/mesa-demos-patched/make.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test-native/mesa-demos-patched/make.sh b/src/test-native/mesa-demos-patched/make.sh new file mode 100644 index 000000000..a7926f560 --- /dev/null +++ b/src/test-native/mesa-demos-patched/make.sh @@ -0,0 +1,17 @@ + +THISDIR=`pwd` + +#eglut/eglut_x11.c \ +#eglut/eglut_screen.c \ + +#DEMO_C=es2gears.c +#DEMO_C=es2redsquare.c +DEMO_C=$1 + +gcc -I$THISDIR -I$THISDIR/eglut -o `basename $DEMO_C .c` \ +eglut/eglut.c \ +eglut/eglut_x11.c \ +$DEMO_C \ +-lX11 \ +-lEGL \ +-lGLESv2 \ |