aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/makebison.bat
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-10-30 18:34:27 +0000
committermarha <marha@users.sourceforge.net>2010-10-30 18:34:27 +0000
commit75ef19188d021a5e965198bde774c1c33bedc1f3 (patch)
treef20be1d1e684a5388c0e386ea302c1b3e98359d0 /tools/mhmake/makebison.bat
parentd9ddf066b898491827ffd6f1d115534c54c82f6b (diff)
downloadvcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.tar.gz
vcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.tar.bz2
vcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.zip
Increased gnu make compatibility.
Diffstat (limited to 'tools/mhmake/makebison.bat')
-rw-r--r--tools/mhmake/makebison.bat16
1 files changed, 2 insertions, 14 deletions
diff --git a/tools/mhmake/makebison.bat b/tools/mhmake/makebison.bat
index ccbe58f54..9d46f535a 100644
--- a/tools/mhmake/makebison.bat
+++ b/tools/mhmake/makebison.bat
@@ -1,16 +1,4 @@
@echo off
-setlocal
-
-cd %1
-"..\bison++" -d -S%3 -H%4 -h%5 -o%6 %2
-
-set file=%6
-set tempfile=%RANDOM%bison.tmp
-
-move %file% %tempfile%
-echo #include "stdafx.h" > %file%
-type %tempfile% >> %file%
-del /q %tempfile%
-
-endlocal
+"bison++" -d -Ssrc/bison.cc -Hsrc/bison.h -h%1/mhmakeparser.h -o%1/mhmakeparser.cpp src\mhmakeParser.y
+python addstdafxh.py %1\mhmakeparser.cpp