summaryrefslogtreecommitdiffstats
path: root/src/test-native/mesa-demos-patched/make.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-17 21:18:18 +0100
committerSven Gothel <[email protected]>2012-03-17 21:18:18 +0100
commitb048c2458b53eb012d15e21dde9e8ec0b1406d0b (patch)
tree52998b76cde5cab0479f5a002157af9fbfcc6a5e /src/test-native/mesa-demos-patched/make.sh
parenta40e22a58e0c71a95f11b7c7e83247fbd4a4d94f (diff)
move src/test/native -> src/test-native - allowing better exclusion for archive scripts
Diffstat (limited to 'src/test-native/mesa-demos-patched/make.sh')
-rw-r--r--src/test-native/mesa-demos-patched/make.sh17
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 \