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 /DMCWIN32.CMD | |
download | bwbasic-712b0690da4b03842a954bfbd1f75925bb7b234e.tar.gz |
Diffstat (limited to 'DMCWIN32.CMD')
-rw-r--r-- | DMCWIN32.CMD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/DMCWIN32.CMD b/DMCWIN32.CMD new file mode 100644 index 0000000..441e0df --- /dev/null +++ b/DMCWIN32.CMD @@ -0,0 +1,35 @@ +@echo off +rem Filename: DMCWIN32.CMD +rem Purpose: Build Bywater BASIC for MS-WINDOWS (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 DMCWIN32.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 > DMCWIN32.TXT +dmc.exe -mn -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 >> DMCWIN32.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 |