aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl')
-rw-r--r--mesalib/src/glsl/dobison.bat16
1 files changed, 16 insertions, 0 deletions
diff --git a/mesalib/src/glsl/dobison.bat b/mesalib/src/glsl/dobison.bat
new file mode 100644
index 000000000..72fde0ade
--- /dev/null
+++ b/mesalib/src/glsl/dobison.bat
@@ -0,0 +1,16 @@
+@echo off
+setlocal
+
+cd "%~dp0"
+
+set M4=..\..\..\tools\mhmake\m4.exe
+
+set BISON_PKGDATADIR=../../../tools/mhmake/src/bisondata
+
+..\..\..\tools\mhmake\bison.exe -v -o glsl_parser.cpp -p "_mesa_glsl_" --defines=glsl_parser.h glsl_parser.yy
+
+..\..\..\tools\mhmake\bison.exe -v -o glcpp/glcpp-parse.c --defines=glcpp/glcpp-parse.h glcpp/glcpp-parse.y
+
+
+endlocal
+