#-------------------------------------------------------------------
#                   TSRTEST.EXE MAKEFILE
#  Builds a program to test TSRPLUS - Dr. Dobb's Journal - Aug 92
#  Al Stevens 71101,1262
#  Use Borland C++ 3.0
#  Requires D-Flat version 12 or later, public domain from DDJ
#  Set DRIVE macro to where BCC is installed
#  (e.g. DRIVE = c:\borlandc)
#  Set DFLAT macro to where D-Flat is installed
#  (e.g. DFlAT = c:\dflat)
#-------------------------------------------------------------------
MODEL = l
#-------------------------------------------------------------------
# Network drive maps for BC++ and D-Flat
DRIVE = i:
DFLAT = h:
#-------------------------------------------------------------------
LNK = $(DRIVE)BIN\tlink
COMPILE = $(DRIVE)bin\bcc -c -d -m$(MODEL)
COMPILEOPTS = $(DEBUG) -O1 -DBUILD_FULL_DFLAT -I$(DFLAT)
.c.obj:
    $(COMPILE) $(COMPILEOPTS) {$*.c }
LINK= $(LNK) $(LINKDEBUG) $(DRIVE)lib\c0$(MODEL) 
LIBS= $(DRIVE)lib\c$(MODEL)

tsrtest.exe : tsrtest.obj tsrbuild.obj
    $(LINK) tsrtest tsrbuild $(DFLAT)dialogs,tsrtest.exe,,$(DFLAT)dflat $(LIBS)


