summaryrefslogtreecommitdiff
path: root/B/dos16/mc.bat
diff options
context:
space:
mode:
Diffstat (limited to 'B/dos16/mc.bat')
-rw-r--r--B/dos16/mc.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/B/dos16/mc.bat b/B/dos16/mc.bat
new file mode 100644
index 0000000..af2d995
--- /dev/null
+++ b/B/dos16/mc.bat
@@ -0,0 +1,22 @@
+@echo // Copyright (C) 1996-2010 Markus F.X.J. Oberhumer
+@echo //
+@echo // DOS 16-bit
+@echo // Microsoft C/C++
+@echo //
+@call b\prepare.bat
+@if "%BECHO%"=="n" echo off
+
+
+set CC=cl -nologo -AL
+%CC% -O -W3 %CFI% -c src\*.c
+@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