| 21 | 
  | 
 | 
| 22 | 
  | 
PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ | 
| 23 | 
  | 
                vwrays xglaresrc rsensor dctimestep rttree_reduce rcollate \ | 
| 24 | 
< | 
                eplus_adduvf | 
| 24 | 
> | 
                eplus_adduvf rmtxop | 
| 25 | 
  | 
 | 
| 26 | 
+ | 
LIBFILES = rambpos.cal ambpos.cal tregsamp.dat | 
| 27 | 
+ | 
 | 
| 28 | 
  | 
all:    $(PROGS) | 
| 29 | 
  | 
 | 
| 30 | 
  | 
install:        all $(SPECIAL) objview.pl objpict.pl glare.csh dayfact.csh \ | 
| 31 | 
  | 
rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh vinfo.csh \ | 
| 32 | 
< | 
ltview.pl ltpict.pl genambpos.csh fieldcomb.csh genklemsamp.pl \ | 
| 33 | 
< | 
genskyvec.pl genBSDF.pl tregsamp.dat | 
| 32 | 
> | 
ltview.pl ltpict.pl genambpos.pl fieldcomb.csh genklemsamp.pl \ | 
| 33 | 
> | 
genskyvec.pl genBSDF.pl $(LIBFILES) | 
| 34 | 
  | 
        cp $(PROGS) $(INSTDIR) | 
| 35 | 
  | 
        cp objview.pl $(INSTDIR)/objview | 
| 36 | 
  | 
        cp objline.csh $(INSTDIR)/objline | 
| 42 | 
  | 
        cp raddepend.csh $(INSTDIR)/raddepend | 
| 43 | 
  | 
        cp compamb.csh $(INSTDIR)/compamb | 
| 44 | 
  | 
        cp vinfo.csh $(INSTDIR)/vinfo | 
| 45 | 
< | 
        cp genambpos.csh $(INSTDIR)/genambpos | 
| 45 | 
> | 
        cp genambpos.pl $(INSTDIR)/genambpos | 
| 46 | 
  | 
        cp fieldcomb.csh $(INSTDIR)/fieldcomb | 
| 47 | 
  | 
        cp genklemsamp.pl $(INSTDIR)/genklemsamp | 
| 48 | 
  | 
        cp genskyvec.pl $(INSTDIR)/genskyvec | 
| 53 | 
  | 
                glare dayfact debugcal rlux raddepend objline \ | 
| 54 | 
  | 
                compamb vinfo genambpos fieldcomb genklemsamp \ | 
| 55 | 
  | 
                genskyvec genBSDF | 
| 56 | 
< | 
        cp tregsamp.dat $(LIBDIR) | 
| 56 | 
> | 
        cd $(LIBDIR) && rm -f $(LIBFILES) | 
| 57 | 
> | 
        cp $(LIBFILES) $(LIBDIR) | 
| 58 | 
  | 
        csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl | 
| 59 | 
  | 
 | 
| 60 | 
  | 
clean: | 
| 61 | 
< | 
        set nonomatch; rm -f *.o $(PROGS) glrad core Version.c x11findwind.c | 
| 61 | 
> | 
        set nonomatch; rm -f *.o $(PROGS) glrad Version.c x11findwind.c | 
| 62 | 
  | 
 | 
| 63 | 
  | 
ogl:    glrad | 
| 64 | 
  | 
        cp glrad $(INSTDIR) | 
| 122 | 
  | 
        $(CC) $(CFLAGS) -o eplus_adduvf eplus_adduvf.o eplus_idf.o \ | 
| 123 | 
  | 
-lrtrad $(MLIB) | 
| 124 | 
  | 
 | 
| 125 | 
+ | 
rmtxop: rmtxop.o rmatrix.o cmatrix.o cmbsdf.o | 
| 126 | 
+ | 
        $(CC) $(CFLAGS) -o rmtxop rmtxop.o rmatrix.o cmatrix.o cmbsdf.o \ | 
| 127 | 
+ | 
-lrtrad $(MLIB) | 
| 128 | 
+ | 
 | 
| 129 | 
  | 
setscan.o:      setscan.h | 
| 130 | 
  | 
 | 
| 131 | 
  | 
eplus_adduvf.o: ../common/triangulate.h ../common/rtprocess.h \ | 
| 218 | 
  | 
        cp ../common/x11findwind.c . | 
| 219 | 
  | 
 | 
| 220 | 
  | 
rttree_reduce.o:        ../common/rtio.h ../common/rterror.h | 
| 221 | 
+ | 
 | 
| 222 | 
+ | 
rmatrix.o:      rmatrix.h cmatrix.h ../common/resolu.h | 
| 223 | 
+ | 
 | 
| 224 | 
+ | 
rmtxop.o:       rmatrix.h cmatrix.h ../common/rtio.h ../common/resolu.h |