# 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 }

ibmdos.lib: env.obj      execute.obj ftime.obj    getc.obj    getc1.obj    \
            getch.obj    ltoa.obj    keyboard.obj open.obj    printf.obj   \
            write.obj
   del ibmdos.lib
   $(LIBRARIAN) ibmdos.lib @objfiles

