# BCC makefile

INCLUDE_PATH = i:\borlandc\include
CC = bcc -ml -c -O1 -d -Z -H -Y -v -I$(INCLUDE_PATH)

# bcc = Borland's C++ command line compiler
# -ml = Large Model
# -c  = Compile only
# -O1 = Smallest size
# -d  = Collapse reused literal strings
# -Z  - Suppress register reloads
# -H  = Use precompiled headers
# -Y  = Use Overlays
# -v  = Include symbolic information in the .objs
# -I  = Include file path

LIBRARIAN = tlib

.cpp.obj:
   $(CC) {$*.cpp }

util.lib: act_log.obj  alloc.obj    arc_file.obj atfile.obj   backsl.obj    \
          bbs_fill.obj bfname.obj   cd.obj       cleanpth.obj continue.obj  \
          crc16.obj    crc32.obj    date.obj     dbad.obj     file2.obj     \
          fileline.obj findext.obj  fix_path.obj fit_mask.obj flist.obj     \
          get_ns.obj   getfile.obj  getrec.obj   getvalue.obj gformat.obj   \
          hmstostr.obj is_dosnm.obj key.obj      list.obj     message.obj   \
          oktoproc.obj old.obj      opencfg.obj  parse.obj    percent.obj   \
          process.obj  renstric.obj splitfil.obj string.obj   subst.obj     \
          thresh.obj
   del util.lib
   $(LIBRARIAN) util.lib @objfiles

