diff options
author | marha <marha@users.sourceforge.net> | 2010-10-30 18:34:27 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-10-30 18:34:27 +0000 |
commit | 75ef19188d021a5e965198bde774c1c33bedc1f3 (patch) | |
tree | f20be1d1e684a5388c0e386ea302c1b3e98359d0 /tools/mhmake/makebison.bat | |
parent | d9ddf066b898491827ffd6f1d115534c54c82f6b (diff) | |
download | vcxsrv-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.bat | 16 |
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
|