aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/doflex.bat
blob: 9a0c7120028aad32ab71269bb52bb03e500587d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@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 --nounistd -oglsl_lexer.cpp glsl_lexer.ll
flex.exe --nounistd -oglcpp/glcpp-lex.c glcpp/glcpp-lex.l
del flex.exe

endlocal