head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	99.01.30.02.34.46;	author rwhitby;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#
# ELIB - library of MSC/TC compatible functions
#        and old MASM/new MASM/TASM compatible too
#

# Currently this makes a library of small model functions,
# to make large model, change MODEL=-ml and AFLAGS=... -DFUNC_L=1
#
CFLAGS= -w -1 -d -f- -O -X -Z -DMSDOS -I..\include
MODELS=-ms
MODELL=-ml

# Assembler flags
AFLAGS=-mx -q -t
AMODELS=-dFUNC_L=0
AMODELL=-dFUNC_L=1

# Define PC-specific include file

.c.obj:
        bcc -c $(MODELS) $(CFLAGS) $*.c
        tlib ..\lib\wattcpsm -+$*
        bcc -c $(MODELL) $(CFLAGS) $*.c
        tlib ..\lib\wattcplg -+$*

.asm.obj:
        tasm $(AFLAGS) $(AMODELS) $*;
        tlib ..\lib\wattcpsm -+$*
        tasm $(AFLAGS) $(AMODELL) $*;
        tlib ..\lib\wattcplg -+$*

all: elib.lib

ELIB.LIB: QMSG.OBJ OUTHEXES.OBJ BACKGRND.OBJ DOSLIST.OBJ KEEP.OBJ OUTCH.OBJ \
OUTHEX.OBJ OUTS.OBJ OUTSN.OBJ INTEL.OBJ INCHKSUM.OBJ QMOVE.OBJ QCMP.OBJ \
SEMAPHOR.OBJ TIMEOUT.OBJ STRINGS.OBJ ISSTRING.OBJ

#
# Make a fresh program. Forces recompile of everything.
#
fresh: clean all

#
# Delete everything but the source
#
clean:
    del *.obj
    del *.bak
    del *.exe
@
