.AUTODEPEND

.PATH.obj = .

#		*Translator Definitions*
CC = bcc +SLRMAIL.CFG
TASM = TASM
TLINK = tlink


#		*Implicit Rules*
.c.obj:
  $(CC) -c {$< }

.cpp.obj:
  $(CC) -c {$< }

#		*List Macros*


EXE_dependencies =  \
  endian.obj \
  filesize.obj \
  fossil.obj \
  mailup.obj \
  logit.obj \
  config.obj \
  slrmail.obj \
  batindex.obj \
  cvt2num.obj \
  ex1parm.obj \
  getopt.obj \
  doors.obj \
  setdir.obj

#		*Explicit Rules*
.\slrmail.exe: slrmail.cfg $(EXE_dependencies)
  $(TLINK) /v/x/c/P-/L\C\LIB @&&|
c0s.obj+
.\endian.obj+
.\filesize.obj+
.\fossil.obj+
.\mailup.obj+
.\logit.obj+
.\config.obj+
.\slrmail.obj+
.\batindex.obj+
.\cvt2num.obj+
.\ex1parm.obj+
.\getopt.obj+
.\doors.obj+
.\setdir.obj
.\slrmail
		# no map file
emu.lib+
maths.lib+
cs.lib+
graphics.lib
|


#		*Individual File Dependencies*
endian.obj: ..\common\endian.c 
	$(CC) -c ..\common\endian.c

filesize.obj: ..\common\filesize.c 
	$(CC) -c ..\common\filesize.c

fossil.obj: ..\common\fossil.c 
	$(CC) -c ..\common\fossil.c

mailup.obj: ..\common\mailup.c 
	$(CC) -c ..\common\mailup.c

logit.obj: ..\common\logit.c 
	$(CC) -c ..\common\logit.c

config.obj: config.c 

slrmail.obj: slrmail.c 

batindex.obj: ..\common\batindex.c 
	$(CC) -c ..\common\batindex.c

cvt2num.obj: ..\common\cvt2num.c 
	$(CC) -c ..\common\cvt2num.c

ex1parm.obj: ..\common\ex1parm.c 
	$(CC) -c ..\common\ex1parm.c

getopt.obj: ..\common\getopt.c 
	$(CC) -c ..\common\getopt.c

doors.obj: ..\common\doors.c 
	$(CC) -c ..\common\doors.c

setdir.obj: ..\common\setdir.c 
	$(CC) -c ..\common\setdir.c

#		*Compiler Configuration File*
slrmail.cfg: slrmail.mak
  copy &&|
-K
-C
-v
-O
-Z
-n.
-I\C\INCLUDE
-L\C\LIB
| slrmail.cfg


