copt = /5r /fp5 /7 /fpi87 /oneatmiler /s /d2
aopt = /ml /m5  /zd
lopt = debug all
copt = /5r /fp5 /7 /fpi87 /oneatmiler /s
aopt = /ml /m5
lopt =

exefile = roto
objects = roto.obj timer.obj rotoexam.obj

$(exefile).exe: $(objects) $(exefile).lnk
  *wlink $(lopt) @$^*.lnk

$(exefile).lnk: makefile
  @%create $^*.lnk
  @%append $^*.lnk system dos4g
  @%append $^*.lnk name $^*.exe
  @%append $^*.lnk file {$(objects)}
  @%append $^*.lnk option modname='cacheoptimized rotozoomer'
  @%append $^*.lnk option description '(c) 1996 Niklas Beisert / pascal'

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

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