ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
Revision: 2.19
Committed: Thu Apr 21 00:40:35 2016 UTC (8 years ago) by greg
Branch: MAIN
CVS Tags: rad5R2, rad5R1, rad5R3
Changes since 2.18: +3 -2 lines
Log Message:
Made zero cone and ring radii non-fatal (degenerate -> ignore)

File Contents

# Content
1 # RCSid: $Id: Rmakefile,v 2.18 2014/04/26 15:59:38 greg Exp $
2 #
3 # Compiles for octree conversion program
4 #
5 # The compile define "STRICT" enforces strict intersection calculations
6 # so that no cube which does not intersect an object contains that object.
7 # Otherwise, a somewhat faster more lax approach is taken by certain routines.
8 # This is set to "1" by default, so -DSTRICT=0 now turns it off.
9 #
10
11 OPT = -O
12 MACH = -DBSD
13 CFLAGS = -I../common -L../lib $(OPT) $(MACH)
14 CC = cc
15 MLIB = -lm
16
17 LIBDIR = /usr/local/lib/ray
18
19 INSTDIR = /usr/local/bin
20
21 PROGS = oconv getbbox obj2mesh
22
23 all: $(PROGS)
24
25 oconv: oconv.o sphere.o writeoct.o o_face.o \
26 o_cone.o o_instance.o bbox.o initotypes.o
27 $(CC) $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
28 o_cone.o o_instance.o bbox.o \
29 initotypes.o -lrtrad $(MLIB)
30
31 getbbox: getbbox.o readobj2.o bbox.o init2otypes.o
32 $(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \
33 bbox.o init2otypes.o -lrtrad $(MLIB)
34
35 obj2mesh: obj2mesh.o cvmesh.o wfconv.o o_face.o writemesh.o
36 $(CC) $(CFLAGS) -o obj2mesh obj2mesh.o cvmesh.o wfconv.o \
37 o_face.o writemesh.o -lrtrad $(MLIB)
38
39 install: $(PROGS)
40 cp $(PROGS) $(INSTDIR)
41
42 clean:
43 set nonomatch; rm -f $(PROGS) *.o
44
45 bbox.o initotypes.o o_cone.o o_face.o \
46 o_instance.o oconv.o sphere.o \
47 cvmesh.o obj2mesh.o wfconv.o \
48 writeoct.o: ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
49 ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
50 ../common/rterror.h
51
52 initotypes.o o_cone.o o_face.o oconv.o \
53 sphere.o writeoct.o: ../common/octree.h
54
55 bbox.o o_cone.o o_face.o o_instance.o oconv.o \
56 sphere.o writeoct.o: ../common/object.h
57
58 bbox.o initotypes.o oconv.o obj2mesh.o sphere.o: ../common/otypes.h
59
60 bbox.o getbbox.o initotypes.o oconv.o readobj2.o writeoct.o: oconv.h
61
62 oconv.o: ../common/paths.h
63
64 bbox.o o_cone.o: ../common/cone.h
65
66 bbox.o o_face.o: ../common/face.h
67
68 bbox.o getbbox.o o_instance.o: ../common/instance.h \
69 ../common/mesh.h ../common/octree.h
70
71 o_face.o: ../common/plocate.h
72
73 clip.o plocate.o: ../common/fvect.h
74
75 initotypes.o init2otypes.o: ../common/otypes.h
76
77 cvmesh.o obj2mesh.o wfconv.o: cvmesh.h \
78 ../common/octree.h ../common/object.h ../common/mesh.h
79
80 cvmesh.o: ../common/otypes.h ../common/face.h ../common/tmesh.h