#
# Borland C++ IDE generated makefile
#
.AUTODEPEND


#
# Borland C++ tools
#
IMPLIB  = Implib
BCC     = Bcc +BccW16.cfg 
TLINK   = TLink
TLIB    = TLib
BRC     = Brc
TASM    = Tasm
#
# IDE macros
#


#
# Options
#
IDE_LFLAGS =  -L..\..\LIB;\BC4\LIB
IDE_RFLAGS = 
LLATW16_termappdexe =  -Twe -C -c -L..\..\..\LIB;\BC4\LIB
RLATW16_termappdexe =  -31
BLATW16_termappdexe = 
CNIEAT_termappdexe = -I..\..\..\INCLUDE;\BC4\INCLUDE -D_RTLDLL;_BIDSDLL;_OWLDLL;_OWLPCH;
LNIEAT_termappdexe = -x
LEAT_termappdexe = $(LLATW16_termappdexe)
REAT_termappdexe = $(RLATW16_termappdexe)
BEAT_termappdexe = $(BLATW16_termappdexe)
CLATW16_bBC4bLIBbbivbxdlib =  -ml -WS
LLATW16_bBC4bLIBbbivbxdlib =  -Twe
RLATW16_bBC4bLIBbbivbxdlib =  -31
BLATW16_bBC4bLIBbbivbxdlib = 
CEAT_bBC4bLIBbbivbxdlib = $(CEAT_termappdexe) $(CLATW16_bBC4bLIBbbivbxdlib)
CNIEAT_bBC4bLIBbbivbxdlib = -I..\..\..\INCLUDE;\BC4\INCLUDE -D_RTLDLL;_BIDSDLL;_OWLDLL;_OWLPCH;
LNIEAT_bBC4bLIBbbivbxdlib = -x
LEAT_bBC4bLIBbbivbxdlib = $(LEAT_termappdexe) $(LLATW16_bBC4bLIBbbivbxdlib)
REAT_bBC4bLIBbbivbxdlib = $(REAT_termappdexe) $(RLATW16_bBC4bLIBbbivbxdlib)
BEAT_bBC4bLIBbbivbxdlib = $(BEAT_termappdexe) $(BLATW16_bBC4bLIBbbivbxdlib)

#
# Dependency List
#
Dep_termapp = \
   termapp.exe

termapp : BccW16.cfg $(Dep_termapp)
  echo MakeNode 

Dep_termappdexe = \
   termapp.obj\
   termchld.obj\
   settings.obj\
   termapp.res\
   \BC4\LIB\bivbx.lib\
   ..\bvsp.def

termapp.exe : $(Dep_termappdexe)
  $(TLINK)   @&&|
 /v $(IDE_LFLAGS) $(LEAT_termappdexe) $(LNIEAT_termappdexe) +
\BC4\LIB\c0wl.obj+
termapp.obj+
termchld.obj+
settings.obj
$<,$*
\BC4\LIB\bivbx.lib+
\BC4\LIB\bwcc.lib+
\BC4\LIB\bidsi.lib+
\BC4\LIB\owlwi.lib+
\BC4\LIB\import.lib+
\BC4\LIB\crtldll.lib
..\bvsp.def
|
   $(BRC) termapp.res $<

termapp.obj :  termapp.cpp
  $(BCC)   -c @&&|
 $(CEAT_termappdexe) $(CNIEAT_termappdexe) -o$@ termapp.cpp
|

termchld.obj :  termchld.cpp
  $(BCC)   -c @&&|
 $(CEAT_termappdexe) $(CNIEAT_termappdexe) -o$@ termchld.cpp
|

settings.obj :  settings.cpp
  $(BCC)   -c @&&|
 $(CEAT_termappdexe) $(CNIEAT_termappdexe) -o$@ settings.cpp
|

termapp.res :  termapp.rc
  $(BRC) $(IDE_RFLAGS) $(REAT_termappdexe) $(CNIEAT_termappdexe) -R -FO$@ termapp.rc

# Compiler configuration file
BccW16.cfg : 
   Copy &&|
-R
-v
-vi
-H
-H=TERMAPP.CSM
-H"OWL\OWLPCH.H"
-ml
-WS
-H=..\..\..\INCLUDE\BVSP.CSM
| $@


