# ************************************************************************
# Make file for the HMS827  demonstration program.
#
# MAKE Version 3.7  Copyright (c) 1987, 1994 Borland International
# is being used for the make utility to input this file.
# A path to Borland C++ Version 4.02 by Borland International is assumed.
#
#  TLINK requires a library path, so it is being called from bcc.
#
# Author: Escort Memory Systems
#
#  History:
#  when    Who   What
#  ----    ----  -------
#
# ****************************************************************************
#

# Borland V4.0 C++ compiler flag: 
# -c      Compile to .OBJ but do not link. 
# -ml     Compile using large memory model.
COPT = -c -ml

# /v      Full symbolic debug information.
# /l      Map file Include source line numbers
# /c      Generate Case-sensitive link
# /d      Worn if duplicate symbols.
# /m      Map file.
# /s      detailed map file.
# /x      No map file at all.
LOPT = /v /c /d /x

demo.exe: demo.obj preform.obj hms800.obj comm.obj
        tlink $(LOPT) C0L demo preform hms800 comm,demo.exe,,Cl.lib,, 

.c.obj:
       bcc $(COPT) $<

clean:
	rm -f *.bak *.obj .lst *.map *.exe *.src 
