summaryrefslogtreecommitdiffstats
path: root/src/test/native/mesa-demos-patched/make.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-04 19:20:52 +0100
committerSven Gothel <[email protected]>2012-03-04 19:20:52 +0100
commitaeca49c50789b42d991386ace3edd0c10d23acc2 (patch)
tree68fc72db9620b09efc472feff23168c9a19c4e64 /src/test/native/mesa-demos-patched/make.sh
parentdf6b48aef57db18c671ecda4bb962de84bb8e565 (diff)
Add es2readsquare, reassembling JOGL's RedSquareES2 demo
Diffstat (limited to 'src/test/native/mesa-demos-patched/make.sh')
-rw-r--r--src/test/native/mesa-demos-patched/make.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/native/mesa-demos-patched/make.sh b/src/test/native/mesa-demos-patched/make.sh
index 2ad382145..a7926f560 100644
--- a/src/test/native/mesa-demos-patched/make.sh
+++ b/src/test/native/mesa-demos-patched/make.sh
@@ -4,10 +4,14 @@ THISDIR=`pwd`
#eglut/eglut_x11.c \
#eglut/eglut_screen.c \
-gcc -I$THISDIR -I$THISDIR/eglut -o es2gears \
+#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 \
-es2gears.c \
+$DEMO_C \
-lX11 \
-lEGL \
-lGLESv2 \