ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
Revision: 2.14
Committed: Sat Mar 27 12:43:30 2004 UTC (20 years ago) by schorsch
Branch: MAIN
CVS Tags: rad3R6
Changes since 2.13: +3 -1 lines
Log Message:
Continued ANSIfication. Added oconv.h.

File Contents

# Content
1 # RCSid: $Id: Rmakefile,v 2.13 2004/01/29 22:21:34 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 #
9
10 OPT = -O
11 MACH = -DBSD
12 CFLAGS = -DSTRICT -I../common -L../lib $(OPT) $(MACH)
13 CC = cc
14 MLIB = -lm
15
16 LIBDIR = /usr/local/lib/ray
17
18 INSTDIR = /usr/local/bin
19
20 PROGS = oconv getbbox obj2mesh
21
22 all: $(PROGS)
23
24 oconv: oconv.o sphere.o writeoct.o o_face.o \
25 o_cone.o o_instance.o bbox.o initotypes.o
26 $(CC) $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
27 o_cone.o o_instance.o bbox.o \
28 initotypes.o -lrt $(MLIB)
29
30 getbbox: getbbox.o readobj2.o bbox.o init2otypes.o
31 $(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \
32 bbox.o init2otypes.o -lrt $(MLIB)
33
34 obj2mesh: obj2mesh.o cvmesh.o wfconv.o o_face.o writemesh.o
35 $(CC) $(CFLAGS) -o obj2mesh obj2mesh.o cvmesh.o wfconv.o \
36 o_face.o writemesh.o -lrt $(MLIB)
37
38 install: $(PROGS)
39 cp $(PROGS) $(INSTDIR)
40
41 clean:
42 set nonomatch; rm -f $(PROGS) *.o core
43
44 bbox.o initotypes.o o_cone.o o_face.o \
45 o_instance.o oconv.o sphere.o \
46 cvmesh.o obj2mesh.o wfconv.o \
47 writeoct.o: ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
48 ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
49 ../common/rterror.h
50
51 initotypes.o o_cone.o o_face.o oconv.o \
52 sphere.o writeoct.o: ../common/octree.h
53
54 bbox.o o_cone.o o_face.o o_instance.o oconv.o \
55 sphere.o writeoct.o: ../common/object.h
56
57 bbox.o initotypes.o oconv.o obj2mesh.o sphere.o: ../common/otypes.h
58
59 bbox.o getbbox.o initotypes.o oconv.o readobj2.o writeoct.o: oconv.h
60
61 oconv.o: ../common/paths.h
62
63 bbox.o o_cone.o: ../common/cone.h
64
65 bbox.o o_face.o: ../common/face.h
66
67 bbox.o getbbox.o o_instance.o: ../common/instance.h \
68 ../common/mesh.h ../common/octree.h
69
70 o_face.o: ../common/plocate.h
71
72 clip.o plocate.o: ../common/fvect.h
73
74 initotypes.o init2otypes.o: ../common/otypes.h
75
76 cvmesh.o obj2mesh.o wfconv.o: cvmesh.h \
77 ../common/octree.h ../common/object.h ../common/mesh.h
78
79 cvmesh.o: ../common/otypes.h ../common/face.h ../common/tmesh.h