16 |
|
LIBDIR = /usr/local/lib/ray |
17 |
|
|
18 |
|
PROGS = genbox gensky xform genblinds genrev genworm gendaylit gendaymtx \ |
19 |
< |
gensurf genprism replmarks mkillum mksource genclock genssky |
19 |
> |
gensurf genprism replmarks mkillum mksource genclock genssky gensdaymtx |
20 |
|
|
21 |
|
LIBFILES = illum.cal rev.cal skybright.cal surf.cal clockface.hex \ |
22 |
< |
glaze1.cal glaze2.cal perezlum.cal perezlum_c.cal mie_ca.dat |
22 |
> |
glaze1.cal glaze2.cal perezlum.cal perezlum_c.cal |
23 |
|
|
24 |
|
all: $(PROGS) |
25 |
|
|
91 |
|
|
92 |
|
|
93 |
|
# Assume rt is built before this |
94 |
< |
genssky: genssky.o sun.o ../rt/data.o atmos.o |
95 |
< |
$(CC) $(CFLAGS) -o genssky genssky.o ../rt/data.o sun.o atmos.o -lrtrad $(MLIB) |
94 |
> |
genssky: genssky.o sun.o atmos.o |
95 |
> |
$(CC) $(CFLAGS) -o genssky genssky.o sun.o atmos.o -lrtrad $(MLIB) |
96 |
|
|
97 |
+ |
gensdaymtx: gensdaymtx.o sun.o atmos.o |
98 |
+ |
$(CC) $(CFLAGS) -o gensdaymtx gensdaymtx.o sun.o atmos.o -lrtrad $(MLIB) |
99 |
+ |
|
100 |
+ |
|
101 |
|
mksource.o: ../common/random.h ../rt/ray.h ../common/octree.h \ |
102 |
|
../common/object.h ../common/color.h \ |
103 |
|
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
137 |
|
gendaymtx.o: ../common/platform.h ../common/rtmath.h \ |
138 |
|
../common/mat4.h ../common/fvect.h ../common/color.h |
139 |
|
|
140 |
< |
genssky.o: ../common/rtio.h ../common/rtmath.h ../common/paths.h ../common/color.h |
140 |
> |
genssky.o: ../common/rtio.h ../common/rtmath.h \ |
141 |
> |
../common/paths.h ../common/color.h |
142 |
|
|
143 |
< |
atmos.o: ../common/rtio.h ../common/rtmath.h ../common/color.h ../rt/data.h sun.h |
143 |
> |
atmos.o: ../common/rtio.h ../common/rtmath.h ../common/color.h \ |
144 |
> |
../common/data.h sun.h |