From d2bdfe9f8d895ac64619f7bc2f7443ce886146e9 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 2 Mar 2011 13:29:46 +0000 Subject: Solved build problem in mesa because dependency checking in VS in not working like expected. Now build the lex and bison files in the same script. --- mesalib/src/mesa/program/doflexbison.bat | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mesalib/src/mesa/program/doflexbison.bat (limited to 'mesalib/src/mesa/program/doflexbison.bat') diff --git a/mesalib/src/mesa/program/doflexbison.bat b/mesalib/src/mesa/program/doflexbison.bat new file mode 100644 index 000000000..d54e5ac65 --- /dev/null +++ b/mesalib/src/mesa/program/doflexbison.bat @@ -0,0 +1,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 -v -d --output=program_parse.tab.c program_parse.y + +copy "..\..\..\..\tools\mhmake\flex++.exe" flex.exe +flex.exe --never-interactive --outfile=lex.yy.c program_lexer.l +del flex.exe + +endlocal + -- cgit v1.2.3