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/makelex.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/makelex.bat')
-rw-r--r-- | tools/mhmake/makelex.bat | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tools/mhmake/makelex.bat b/tools/mhmake/makelex.bat index 0705f4bb1..66d9255fa 100644 --- a/tools/mhmake/makelex.bat +++ b/tools/mhmake/makelex.bat @@ -1,16 +1,11 @@ @echo off
setlocal
-cd %1
-"..\flex++" -8 -S%3 -H%4 -h%5 -o%6 %2
+set M4=.\m4.exe
-set file=%6
-set tempfile=%RANDOM%lex.tmp
+"flex++" --nounistd -Ssrc/flex.skl -o%1/mhmakelexer.cpp src/mhmakelexer.l
-move %file% %tempfile%
-echo #include "stdafx.h" > %file%
-type %tempfile% >> %file%
-del /q %tempfile%
+python addstdafxh.py %1\mhmakelexer.cpp
endlocal
|