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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
# Microsoft QuickC Makefile for Bywater BASIC Interpreter
#
# This makefile is for line-oriented QuickC only, not for
# the QuickC integrated environment. To make the program:
# type "nmake -f makefile.qcl".
#
# To implement the bwx_iqc implementation (using specific
# features for the IBM PC and compatibles), chainge each
# instance of "bwx_tty" to "bwx_iqc".
#
PROJ= bwbasic
CC= qcl
#
# These are the normal flags I used to compile bwBASIC:
#
CFLAGS= -O -AL -W3 -Za -DMSDOS
#
# The following flags can be used for debugging:
#
#CFLAGS= -Od -AL -W3 -Za -Zr -Zi -DMSDOS
LFLAGS= /NOE /ST:8192
OFILES= bwbasic.obj bwb_int.obj bwb_tbl.obj bwb_cmd.obj bwb_prn.obj\
bwb_exp.obj bwb_var.obj bwb_inp.obj bwb_fnc.obj bwb_cnd.obj\
bwb_ops.obj bwb_dio.obj bwb_str.obj bwb_elx.obj bwb_mth.obj\
bwb_stc.obj bwb_par.obj bwx_tty.obj
HFILES= bwbasic.h bwb_mes.h
all: $(PROJ).exe
$(OFILES): $(HFILES) makefile.qcl
$(PROJ).exe: $(OFILES)
echo >NUL @<<$(PROJ).crf
bwbasic.obj +
bwb_cmd.obj +
bwb_cnd.obj +
bwb_fnc.obj +
bwb_inp.obj +
bwb_int.obj +
bwb_prn.obj +
bwb_tbl.obj +
bwb_var.obj +
bwb_exp.obj +
bwb_ops.obj +
bwb_dio.obj +
bwb_str.obj +
bwb_elx.obj +
bwb_mth.obj +
bwb_stc.obj +
bwb_par.obj +
bwx_tty.obj +
$(OBJS_EXT)
$(PROJ).exe
$(LIBS_EXT);
<<
link $(LFLAGS) @$(PROJ).crf
erase $(PROJ).crf
|