summaryrefslogtreecommitdiff
path: root/B/win16/wc.bat
diff options
context:
space:
mode:
Diffstat (limited to 'B/win16/wc.bat')
-rw-r--r--B/win16/wc.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/B/win16/wc.bat b/B/win16/wc.bat
new file mode 100644
index 0000000..fa73175
--- /dev/null
+++ b/B/win16/wc.bat
@@ -0,0 +1,20 @@
+@echo // Copyright (C) 1996-2010 Markus F.X.J. Oberhumer
+@echo //
+@echo // Windows 16-bit
+@echo // Watcom C/C++
+@echo //
+@call b\prepare.bat
+@if "%BECHO%"=="n" echo off
+
+
+set WCL=-zq -bt#windows -l#windows %CFI% %WCL_W%
+wcl -ml -2 -bw -ox -fm -Fe#%BEXE% src\*.c %BLDLIBS%
+@if errorlevel 1 goto error
+
+
+@call b\done.bat
+@goto end
+:error
+@echo ERROR during build!
+:end
+@call b\unset.bat