diff options
Diffstat (limited to 'BCCDOS16.BAT')
-rw-r--r-- | BCCDOS16.BAT | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/BCCDOS16.BAT b/BCCDOS16.BAT new file mode 100644 index 0000000..307a86a --- /dev/null +++ b/BCCDOS16.BAT @@ -0,0 +1,35 @@ +@echo off +rem Filename: BCCDOS16.BAT +rem Purpose: Build Bywater BASIC for MS-DOS (16-bit) using Borland C++ Version 3.1 +rem Author: Howard Wulf, AF5NE +rem Date: 2015-01-29 +rem Uasage: implementation defined +rem Example: +rem cd \sdcard\Download\BASIC\bwbasic3\ +rem BCCDOS16.BAT +rem +rem This is the location of BCC.EXE +rem +set BINDIR=C:\DOS\BC31\BIN +rem +rem Cleanup before compile +rem +DEL BW*.EXE 1> NUL 2> NUL +DEL BW*.OBJ 1> NUL 2> NUL +DEL BW*.MAP 1> NUL 2> NUL +rem +rem Compile +rem +set OLDPATH=%PATH% +set PATH=%BINDIR%;%PATH% +bcc.exe > BCCDOS16.TXT +bcc.exe -mh -eBWBASIC.EXE -DHAVE_MSDOS=1 -Y bw*.c >> BCCDOS16.TXT +set PATH=%OLDPATH% +set OLDPATH= +set BINDIR= +rem +rem Cleanup after compile +rem +DEL BW*.OBJ 1> NUL 2> NUL +DEL BW*.MAP 1> NUL 2> NUL +rem EOF |