c0.obj : c0.asm malloc.asm mathinit.asm key.asm os.asm
  masm2obj $*

lzh.obj : lzh.asm
  masm2obj $*

misc.obj : misc.asm
  masm2obj $*

math_bc.obj : math_bc.asm
  masm2obj $*

math_wc.obj : math_wc.asm
  masm2obj $*

file.obj : file.asm pack.asm
  masm2obj $*

string.obj : string.asm
  masm2obj $*

mem.obj : mem.asm
  masm2obj $*

irq.obj : irq.asm
  masm2obj $*

video.obj : video.asm
  masm2obj $*

play.obj : play.asm play-rle.asm play-del.asm play-cop.asm
  masm2obj $*

gui.obj : gui.asm guim.inc gui-en.asm gui-dis.asm gui-edit.asm
  masm2obj $*

m32.obj : m32.asm m32d_sb.asm m32d_gus.asm m32t.asm m32_*.* m32o.asm
  masm2obj $*

nodebug.obj : nodebug.asm
  masm2obj $*

debug.obj : debug.asm debug.inc
  masm2obj $*

conio.obj : conio.asm
  masm2obj $*

print.obj : print.asm
  masm2obj $*

scanf.obj : scanf.asm
  masm2obj $*

qlib.lib : file.obj string.obj irq.obj play.obj m32.obj video.obj gui.obj misc.obj lzh.obj print.obj conio.obj scanf.obj
  del qlib.lib
  rem tlib qlib +file +string +irq +mem +video +gui +m32 +play +misc +print +conio +scanf +lzh,nul
  lib qlib +file +string +irq +mem +video +gui +m32 +play +misc +print +conio +scanf +lzh,nul

math_wc.lib : math_wc.obj
  del math_wc.lib
  lib math_wc +math_wc

math_bc.lib : math_bc.obj
  del math_bc.lib
  lib math_bc +math_bc

