| 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 |
| 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 atmos.o |
| 95 |
< |
$(CC) $(CFLAGS) -o genssky genssky.o sun.o atmos.o -lrtrad $(MLIB) |
| 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 -lrtrad $(MLIB) |
| 99 |
> |
$(CC) $(CFLAGS) -o gensdaymtx gensdaymtx.o sun.o atmos.o \ |
| 100 |
> |
-lrtrad $(MLIB) |
| 101 |
|
|
| 100 |
– |
|
| 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 \ |
| 141 |
> |
genssky.o: ../common/rtio.h ../common/rtmath.h \ |
| 142 |
|
../common/paths.h ../common/color.h |
| 143 |
|
|
| 144 |
|
genssky.o gensdaymtx.o: atmos.h |
| 145 |
|
|
| 146 |
< |
atmos.o: ../common/rtio.h ../common/rtmath.h ../common/color.h \ |
| 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 |