diff options
Diffstat (limited to 'DMCDOS32.CMD')
-rw-r--r-- | DMCDOS32.CMD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/DMCDOS32.CMD b/DMCDOS32.CMD new file mode 100644 index 0000000..36a725f --- /dev/null +++ b/DMCDOS32.CMD @@ -0,0 +1,35 @@ +@echo off +rem Filename: DMCDOS32.CMD +rem Purpose: Build Bywater BASIC for MS-DOS (32-bit) using Digital Mars Compiler Version 8.42n +rem Author: Howard Wulf, AF5NE +rem Date: 2015-01-29 +rem Uasage: implementation defined +rem Example: +rem cd \sdcard\Download\BASIC\bwbasic3\ +rem DMCDOS32.CMD +rem +rem This is the location of DMC.EXE +rem +set BINDIR=C:\DOS\dm\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% +dmc.exe > DMCDOS32.TXT +dmc.exe -mx -A89 -oBWBASIC.EXE -DHAVE_MSDOS=1 bwbasic.c bwb_cmd.c bwb_cnd.c bwb_dio.c bwb_exp.c bwb_fnc.c bwb_inp.c bwb_int.c bwb_prn.c bwb_stc.c bwb_str.c bwb_tbl.c bwb_var.c bwd_cmd.c bwd_fun.c bwx_tty.c X32.LIB >> DMCDOS32.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 |