aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/doflexbison.bat
blob: a29508bcb1ff9ba30833736bd3ab8f20fa3b5d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off
setlocal

cd "%~dp0"

set M4=..\..\..\tools\mhmake\m4.exe
set BISON_PKGDATADIR=../../../tools/mhmake/src/bisondata

set path=..\..\..\tools\mhmake;%path%

..\..\..\tools\mhmake\bison.exe -d -o%1/winprefsyacc.c winprefsyacc.y

copy "..\..\..\tools\mhmake\flex++.exe" flex.exe
flex.exe -i -o%1/winprefslex.c winprefslex.l
del flex.exe

endlocal