aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program/doflex.bat
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/program/doflex.bat')
-rw-r--r--mesalib/src/mesa/program/doflex.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/mesalib/src/mesa/program/doflex.bat b/mesalib/src/mesa/program/doflex.bat
new file mode 100644
index 000000000..bd3ccb0e0
--- /dev/null
+++ b/mesalib/src/mesa/program/doflex.bat
@@ -0,0 +1,18 @@
+@echo off
+setlocal
+
+cd "%~dp0"
+
+set M4=..\..\..\..\tools\mhmake\m4.exe
+
+set path=..\..\..\..\tools\mhmake;%path%
+
+copy "..\..\..\..\tools\mhmake\flex++.exe" flex.exe
+
+
+flex.exe --never-interactive --outfile=lex.yy.c program_lexer.l
+
+del flex.exe
+
+endlocal
+