.AUTODEPEND

.PATH.obj = .

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


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

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

#		*List Macros*


EXE_dependencies =  \
  endian.obj \
  fossil.obj \
  logit.obj \
  kill.obj \
  newsgrp.obj \
  forums.obj \
  cnews.obj \
  cvt2num.obj \
  config.obj \
  doors.obj \
  filesize.obj \
  newsrc.obj \
  slrnews.obj \
  ex1parm.obj \
  getopt.obj \
  setdir.obj \
  packet.obj \
  batindex.obj

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


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

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

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

kill.obj: kill.c 

newsgrp.obj: newsgrp.c 

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

cnews.obj: cnews.c 

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

config.obj: config.c 

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

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

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

slrnews.obj: slrnews.c 

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

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

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

packet.obj: packet.c 

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

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


