blob: 307a86a56c4c7082eb5951daa4bfecf03bc23b87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|