| 13 |  |  | 
| 14 |  | LIBDIR = /usr/local/lib/ray | 
| 15 |  |  | 
| 16 | < | PROGS = genbox gensky xform genblinds genrev genworm gendaylit \ | 
| 16 | > | PROGS = genbox gensky xform genblinds genrev genworm gendaylit gendaymtx \ | 
| 17 |  | gensurf genprism replmarks mkillum mksource genclock | 
| 18 |  |  | 
| 19 |  | LIBFILES = illum.cal rev.cal skybright.cal surf.cal clockface.hex \ | 
| 20 | < | glaze1.cal glaze2.cal perezlum.cal coeff_perez.dat defangle.dat | 
| 20 | > | glaze1.cal glaze2.cal perezlum.cal perezlum_c.cal | 
| 21 |  |  | 
| 22 |  | all:    $(PROGS) | 
| 23 |  |  | 
| 29 |  | cp $(LIBFILES) $(LIBDIR) | 
| 30 |  |  | 
| 31 |  | clean: | 
| 32 | < | set nonomatch; rm -f $(PROGS) *.o core | 
| 32 | > | set nonomatch; rm -f $(PROGS) *.o | 
| 33 |  |  | 
| 34 |  | genbeads:       genbeads.o hermite3.o | 
| 35 |  | $(CC) $(CFLAGS) -o genbeads genbeads.o hermite3.o $(MLIB) | 
| 36 |  |  | 
| 37 |  | genbox: genbox.o | 
| 38 | < | $(CC) $(CFLAGS) -o genbox genbox.o | 
| 38 | > | $(CC) $(CFLAGS) -o genbox genbox.o -lwfobj -lrtrad $(MLIB) | 
| 39 |  |  | 
| 40 |  | genmarble:      genmarble.o ../common/random.h | 
| 41 |  | $(CC) $(CFLAGS) -o genmarble genmarble.o $(MLIB) | 
| 42 |  |  | 
| 43 |  | gensky: gensky.o sun.o | 
| 44 | < | $(CC) $(CFLAGS) -o gensky gensky.o sun.o $(MLIB) | 
| 44 | > | $(CC) $(CFLAGS) -o gensky gensky.o sun.o -lrtrad $(MLIB) | 
| 45 |  |  | 
| 46 |  | gendaylit:      gendaylit.o sun.o | 
| 47 |  | $(CC) $(CFLAGS) -o gendaylit gendaylit.o sun.o -lrtrad $(MLIB) | 
| 48 |  |  | 
| 49 | + | gendaymtx:      gendaymtx.o sun.o | 
| 50 | + | $(CC) $(CFLAGS) -o gendaymtx gendaymtx.o sun.o -lrtrad $(MLIB) | 
| 51 | + |  | 
| 52 |  | genblinds:      genblinds.o | 
| 53 | < | $(CC) $(CFLAGS) -o genblinds genblinds.o $(MLIB) | 
| 53 | > | $(CC) $(CFLAGS) -o genblinds genblinds.o -lrtrad $(MLIB) | 
| 54 |  |  | 
| 55 |  | genprism:       genprism.o | 
| 56 | < | $(CC) $(CFLAGS) -o genprism genprism.o $(MLIB) | 
| 56 | > | $(CC) $(CFLAGS) -o genprism genprism.o -lrtrad $(MLIB) | 
| 57 |  |  | 
| 58 |  | xform:  xform.o | 
| 59 |  | $(CC) $(CFLAGS) -o xform xform.o -lrtrad $(MLIB) | 
| 61 |  | replmarks:      replmarks.o | 
| 62 |  | $(CC) $(CFLAGS) -o replmarks replmarks.o -lrtrad $(MLIB) | 
| 63 |  |  | 
| 64 | < | mkillum:        mkillum.o mkillum2.o mkillum3.o bsdf.o ezxml.o | 
| 64 | > | mkillum:        mkillum.o mkillum2.o mkillum3.o | 
| 65 |  | $(CC) $(CFLAGS) -o mkillum mkillum.o mkillum2.o mkillum3.o \ | 
| 66 | < | bsdf.o ezxml.o -lraycalls -lradiance -lrtrad $(MLIB) | 
| 66 | > | -lraycalls -lradiance -lrtrad $(MLIB) | 
| 67 |  |  | 
| 68 |  | mksource:       mksource.o | 
| 69 |  | $(CC) $(CFLAGS) -o mksource mksource.o \ | 
| 100 |  | ../common/rtmath.h ../common/rterror.h \ | 
| 101 |  | ../common/mat4.h ../common/fvect.h | 
| 102 |  |  | 
| 103 | + | genbox.o:       ../common/fvect.h ../common/objutil.h ../common/rtio.h | 
| 104 | + |  | 
| 105 |  | genworm.o genrev.o gensurf.o:   ../common/resolu.h ../common/rterror.h | 
| 106 |  |  | 
| 107 |  | xform.o:        ../common/otypes.h ../common/object.h | 
| 108 |  |  | 
| 109 | < | mkillum.o mkillum2.o mkillum3.o:        mkillum.h bsdf.h \ | 
| 109 | > | mkillum.o mkillum2.o mkillum3.o:        mkillum.h \ | 
| 110 |  | ../common/otypes.h ../rt/ray.h ../common/octree.h \ | 
| 111 |  | ../common/object.h ../common/color.h \ | 
| 112 |  | ../common/standard.h ../common/rtmisc.h ../common/rtio.h \ | 
| 115 |  |  | 
| 116 |  | mkillum2.o:     ../rt/source.h ../common/face.h ../common/cone.h | 
| 117 |  |  | 
| 118 | < | bsdf.o: bsdf.h \ | 
| 114 | < | ../common/standard.h ../common/rtmisc.h ../common/rtio.h \ | 
| 115 | < | ../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 116 | < | ../common/rterror.h | 
| 118 | > | mkillum2.o mkillum3.o:  ../common/paths.h | 
| 119 |  |  | 
| 118 | – | mkillum3.o bsdf.o:      ../common/paths.h | 
| 119 | – |  | 
| 120 | – | ezxml.o bsdf.o: ezxml.h | 
| 121 | – |  | 
| 120 |  | gensky.o:       ../common/color.h | 
| 121 |  |  | 
| 122 |  | gensurf.o genworm.o genrev.o:   ../common/calcomp.h | 
| 123 | + |  | 
| 124 | + | gendaylit.o gensky.o sun.o:     sun.h | 
| 125 | + |  | 
| 126 | + | gendaymtx.o:    ../common/platform.h ../common/rtmath.h \ | 
| 127 | + | ../common/mat4.h ../common/fvect.h ../common/color.h |