aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/buildwin.bat
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/one-true-awk/buildwin.bat')
-rw-r--r--contrib/one-true-awk/buildwin.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/one-true-awk/buildwin.bat b/contrib/one-true-awk/buildwin.bat
new file mode 100644
index 000000000000..77513429e463
--- /dev/null
+++ b/contrib/one-true-awk/buildwin.bat
@@ -0,0 +1,12 @@
+@echo off
+rem buildwin.bat - build AWK under Windows NT using Visual C++.
+rem 22 Jan 1999 - Created by Dan Allen.
+rem
+rem If you delete the call to setlocal it will probably work under Win95/Win98 as well.
+
+setlocal
+set cl=-w -Ox -QIfdiv- -nologo -link -nologo setargv.obj
+
+cl maketab.c -o maketab.exe
+maketab.exe > proctab.c
+cl -o awk.exe b.c main.c parse.c proctab.c tran.c lib.c run.c lex.c ytab.c missing95.c