diff options
author | anthk <anthk@texto-plano.xyz> | 2021-03-08 21:34:43 +0000 |
---|---|---|
committer | anthk <anthk@texto-plano.xyz> | 2021-03-08 21:34:43 +0000 |
commit | 712b0690da4b03842a954bfbd1f75925bb7b234e (patch) | |
tree | 0ccf9ff3d8406e658dea919da669ce9e6760627b /BCCDOS16.BAT | |
download | bwbasic-master.tar.gz |
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 |