aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/makelex.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mhmake/makelex.bat')
-rwxr-xr-xtools/mhmake/makelex.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/mhmake/makelex.bat b/tools/mhmake/makelex.bat
new file mode 100755
index 000000000..66d9255fa
--- /dev/null
+++ b/tools/mhmake/makelex.bat
@@ -0,0 +1,11 @@
+@echo off
+setlocal
+
+set M4=.\m4.exe
+
+"flex++" --nounistd -Ssrc/flex.skl -o%1/mhmakelexer.cpp src/mhmakelexer.l
+
+python addstdafxh.py %1\mhmakelexer.cpp
+
+endlocal
+