unset exit set link false set vncview false set vncsession false set rezfork false newer vncview.a vncview.cc if {status} != 0 set vncview true set link true end newer vncsession.a vncsession.cc if {status} != 0 set vncsession true set link true end newer vncview.a vncview.h if {status} != 0 set vncview true set link true end newer vncsession.a vncview.h if {status} != 0 set vncsession true set link true end newer vncsession.a vncsession.h if {status} != 0 set vncsession true set link true end newer vncview.a vncsession.h if {status} != 0 set vncview true set link true end newer vncview.rezfork vncview.rez if {status} != 0 set rezfork true end set exit on if {rezfork} == true compile vncview.rez keep=vncview.rezfork > vncview.err >& vncview.err copy -C -P -R vncview.rezfork vncview.gs end if {vncview} == true compile vncview.cc keep=vncview cc=(-dDEBUG 1) > vncview.err >& vncview.err end if {vncsession} == true compile vncsession.cc keep=vncsession cc=(-dDEBUG 1) > vncview.err >& vncview.err end if {link} == true link vncview vncsession keep=vncview.gs > vncview.err >& vncview.err end