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 copy -C -P -R vncview.rezfork vncview.gs end if {vncview} == true compile +D vncview.cc keep=vncview end if {vncsession} == true compile +D vncsession.cc keep=vncsession end if {link} == true link vncview vncsession keep=vncview.gs end