# 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

LINKER = tlink /c /x

# /c  = Case Sensitive
# /x  = No map

LIBS = ibmdos\ibmdos.lib util\util.lib

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

au.exe: $(LIBS) add.obj 	 compare.obj  convert.obj delete.obj  dir.obj	  \
				dupes.obj	 find.obj	  fixcr.obj   header.obj  orphan.obj  \
				patch.obj	 redate.obj   scan.obj	  size.obj	  sweep.obj   \
				test.obj	 unarc.obj	  view.obj	  whatis.obj  main.obj	  \
				globals.obj  ctrl_brk.obj
   $(LINKER) @objfiles

