aboutsummaryrefslogtreecommitdiff
path: root/opengl/configure
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/configure')
-rwxr-xr-xopengl/configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/opengl/configure b/opengl/configure
new file mode 100755
index 0000000..5fd6341
--- /dev/null
+++ b/opengl/configure
@@ -0,0 +1,11 @@
+#!/bin/bash
+# hack: use parent dir's Makefile.config
+
+cp ../Makefile.config .
+
+TARGET=`cat Makefile.config | grep PDP_TARGET | awk -F= '{print $2}'`
+
+echo "PDP_OPENGL_LIBRARY_NAME=pdp_opengl.pd_${TARGET}" >> Makefile.config
+echo "TARGET=${TARGET}" >> Makefile.config
+
+