
.AUTODEPEND
#               *Local definitions
MONITOR = /DMONITOR
#NOTEBOOK = /DNOTEBOOK

#		*Translator Definitions*
CC = bcc +midis.cfg
TASM = TASM /zi $(NOTEBOOK) /DCTRLALTDEL /DPAUSE $(MONITOR) /i$(INCLUDEPATH)
TLIB = tlib
TLINK = tlink
LIBPATH = C:\BC45\LIB;..\monitor
INCLUDEPATH = ..\include


#		*Implicit Rules*
.asm.obj:
  &$(TASM) $? 

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

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

.path.asm=..\core;..\monitor

#		*List Macros*
!if $d(MONITOR)
DEBUG = \
breaks.obj \
ddisk.obj \
dis.obj \
dump.obj \
entry.obj \
exec.obj \
input.obj \
mtrap.obj \
opcodes.obj \
operands.obj \
regs.obj
!endif
    
EXE_dependencies =  \
a20.obj \
beep.obj   \
boot.obj \
buffers.obj \
cmos.obj \
descript.obj  \
dirs.obj \
dispatch.obj \
dosfiles.obj \
files.obj \
floppy.obj \
fs.obj \
glbltss.obj \
kb.obj \
ints.obj   \
loader.obj  \
memory.obj  \
misc.obj    \
mouse.obj \
nf.obj \
page.obj \
pageall.obj \
pic.obj   \
prints.obj   \
remaps.obj   \
sems.obj  \
serial.obj \
timer.obj      \
traps.obj \
tss.obj   \
vga.obj \
vgaini.obj \
video.obj     \
xstack.obj $(DEBUG)
#		*Explicit Rules*
lsd.exe: $(EXE_dependencies)
  $(TLINK) /3/s/L$(LIBPATH) @&&|
$(EXE_dependencies)
lsd.exe
lsd.map
	# NO Lib file
|
link:
  $(TLINK) /3/s/L$(LIBPATH) @&&|
$(EXE_dependencies)
lsd.exe
lsd.map
	# NO Lib file
|
test.exe: test.obj
	olink test