7 |
|
MACH = -DBSD |
8 |
|
CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH) |
9 |
|
CC = cc |
10 |
+ |
PTHD = -pthread |
11 |
|
MLIB = -lm |
12 |
|
|
13 |
|
INSTALL = cp |
17 |
|
LIBDIR = /usr/local/lib/ray |
18 |
|
|
19 |
|
PROGS = genbox gensky xform genblinds genrev genworm gendaylit gendaymtx \ |
20 |
< |
gensurf genprism replmarks mkillum mksource genclock genssky |
20 |
> |
gensurf genprism replmarks mkillum mksource genclock genssky gensdaymtx |
21 |
|
|
22 |
|
LIBFILES = illum.cal rev.cal skybright.cal surf.cal clockface.hex \ |
23 |
|
glaze1.cal glaze2.cal perezlum.cal perezlum_c.cal mie_ca.dat |
90 |
|
genbranch: genbranch.o |
91 |
|
$(CC) $(CFLAGS) -o genbranch genbranch.o $(MLIB) |
92 |
|
|
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 \ |
96 |
> |
-lrtrad $(MLIB) |
97 |
|
|
98 |
+ |
gensdaymtx: gensdaymtx.o sun.o atmos.o |
99 |
+ |
$(CC) $(CFLAGS) -o gensdaymtx gensdaymtx.o sun.o atmos.o \ |
100 |
+ |
-lrtrad $(MLIB) |
101 |
+ |
|
102 |
|
mksource.o: ../common/random.h ../rt/ray.h ../common/octree.h \ |
103 |
|
../common/object.h ../common/color.h \ |
104 |
|
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
138 |
|
gendaymtx.o: ../common/platform.h ../common/rtmath.h \ |
139 |
|
../common/mat4.h ../common/fvect.h ../common/color.h |
140 |
|
|
141 |
< |
genssky.o: ../common/rtio.h ../common/rtmath.h ../common/paths.h ../common/color.h |
141 |
> |
genssky.o: ../common/rtio.h ../common/rtmath.h \ |
142 |
> |
../common/paths.h ../common/color.h |
143 |
|
|
144 |
< |
atmos.o: ../common/rtio.h ../common/rtmath.h ../common/color.h ../rt/data.h sun.h |
144 |
> |
genssky.o gensdaymtx.o: atmos.h |
145 |
> |
|
146 |
> |
atmos.o: ../common/rtio.h ../common/rtmath.h ../common/color.h \ |
147 |
> |
../common/data.h sun.h |
148 |
> |
$(CC) $(CFLAGS) $(PTHD) -c atmos.c |