summaryrefslogtreecommitdiff
path: root/B/dos16/vc.bat
diff options
context:
space:
mode:
Diffstat (limited to 'B/dos16/vc.bat')
-rw-r--r--B/dos16/vc.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/B/dos16/vc.bat b/B/dos16/vc.bat
new file mode 100644
index 0000000..365f09c
--- /dev/null
+++ b/B/dos16/vc.bat
@@ -0,0 +1,22 @@
+@echo // Copyright (C) 1996-2010 Markus F.X.J. Oberhumer
+@echo //
+@echo // DOS 16-bit
+@echo // Microsoft Visual C/C++
+@echo //
+@call b\prepare.bat
+@if "%BECHO%"=="n" echo off
+
+
+set CC=cl -nologo -AL
+%CC% -O -W3 %CFI% -c @b\src.rsp
+@if errorlevel 1 goto error
+%CC% -F 2000 -Fm -Fe%BEXE% *.obj %BLDLIBS% /link /noe
+@if errorlevel 1 goto error
+
+
+@call b\done.bat
+@goto end
+:error
+@echo ERROR during build!
+:end
+@call b\unset.bat