copt = /5r /oneatmiler /s /d2
aopt = /ml /m /zd
lopt = debug all
compress = @%null
copt = /5r /oneatmiler /s
aopt = /ml /m
lopt =
#compress = pmwlite /c4


all: .symbolic mxmplay.exe xm2mxm.exe
  @%null

mxmplay.exe: cppexam.obj mxmplay.obj makefile
  *wlink $(lopt) system dos4g name mxmplay.exe file { cppexam.obj mxmplay.obj }
  $(compress) mxmplay.exe

xm2mxm.exe: xm2mxm.obj makefile
  *wlink $(lopt) system dos4g name xm2mxm.exe file xm2mxm.obj
  $(compress) xm2mxm.exe

.cpp.obj:
  @*wpp386 $(copt) $<

.asm.obj:
  @tasm $(aopt) $<
