home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
PPPBCKP
/
SRC
/
SRC15B85.ZIP
/
WATTSRC.ZIP
/
ELIB
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1997-03-19
|
983b
|
38 lines
#
# 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 -a -d -f- -G -O -Z -DMSDOS -I..\include -IC:\tc\include
MODELS=-ms
MODELL=-ml
# Assembler flags
AFLAGS=-mx -t
AMODELS=-dFUNC_L=0
AMODELL=-dFUNC_L=1
# Define PC-specific include file
.c.obj:
tcc -c $(MODELS) $(CFLAGS) $*.c
tlib ..\lib\watts -+$*
tcc -c $(MODELL) $(CFLAGS) $*.c
tlib ..\lib\watt -+$*
.asm.obj:
tasm $(AFLAGS) $(AMODELS) $*;
tlib ..\lib\watts -+$*
tasm $(AFLAGS) $(AMODELL) $*;
tlib ..\lib\watt -+$*
start: 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