#system epoc img
#set epocinit=iplib
#model small jpi

#abort on

#compile demo.cat

#if %remake #or (demo.rsg #older demo.rss) #then
  #file delete demo.rsg
  #run "rs demo" no_window no_abort
#endif

#if demo.rzc #older demo.rsg #then
  #run "rch demo" no_window no_abort
  #file delete tprint.img
#endif

#compile delp.c
#compile dedlg.c
#compile demain.c
#compile dewserv.c

#if (tprint.img #older tprint.afl) #or (tprint.img #older demo.pic) #then
  #file delete tprint.img
#endif

#pragma link(olib.lib)
#pragma link(hwim.lib)

#link tprint.img
