.AUTODEPEND

#               *Translator Definitions*
CC = bcc +CRN.CFG
TASM = TASM
TLIB = tlib
TLINK = tlink
LIBPATH = C:\BORLANDC\LIB
INCLUDEPATH = ..\..\LIB;C:\BORLANDC\INCLUDE


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

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

everything: bmakefil. crn.exe

bmakefil.: makefile.
	copy makefile. bmakefil.



#               *List Macros*


EXE_dependencies =  \
 crnhandl.obj \
 mapper.obj \
 mapread.obj \
 crn.obj \
 scan.obj \
 ..\..\lib\cmtlib.lib

#               *Explicit Rules*
crn.exe: crn.cfg $(EXE_dependencies)
  $(TLINK) /v/x/c/P-/L$(LIBPATH) @&&|
c0l.obj+
crnhandl.obj+
mapper.obj+
mapread.obj+
crn.obj+
scan.obj
crn
		# no map file
..\..\lib\cmtlib.lib+
emu.lib+
mathl.lib+
cl.lib
|


#               *Individual File Dependencies*
crnhandl.obj: crn.cfg crnhandl.c 

mapper.obj: crn.cfg mapper.c 

mapread.obj: crn.cfg mapread.c 

crn.obj: crn.cfg crn.c 

scan.obj: crn.cfg scan.c 

#               *Compiler Configuration File*
crn.cfg: makefile.
  copy &&|
-ml
-v
-vi
-w-ret
-w-nci
-w-inl
-wpin
-w-par
-wcln
-w-cpt
-w-dup
-w-pia
-wsig
-wnod
-w-ill
-w-sus
-wucp
-w-ext
-w-ias
-w-ibc
-w-pre
-w-nst
-I$(INCLUDEPATH)
-L$(LIBPATH)
| crn.cfg


