ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
Revision: 2.10
Committed: Fri Mar 14 21:27:46 2003 UTC (21 years ago) by greg
Branch: MAIN
Changes since 2.9: +1 -2 lines
Log Message:
Added -a option to obj2mesh to incorporate materials in mesh

File Contents

# Content
1 # RCSid: $Id$
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 all: oconv getbbox obj2mesh
21
22 oconv: oconv.o sphere.o writeoct.o o_face.o \
23 o_cone.o o_instance.o bbox.o initotypes.o
24 $(CC) $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
25 o_cone.o o_instance.o bbox.o \
26 initotypes.o -lrt $(MLIB)
27
28 getbbox: getbbox.o readobj2.o bbox.o init2otypes.o
29 $(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \
30 bbox.o init2otypes.o -lrt $(MLIB)
31
32 obj2mesh: obj2mesh.o cvmesh.o wfconv.o o_face.o writemesh.o
33 $(CC) $(CFLAGS) -o obj2mesh obj2mesh.o cvmesh.o wfconv.o \
34 o_face.o writemesh.o -lrt $(MLIB)
35
36 install: oconv getbbox obj2mesh
37 cp oconv getbbox obj2mesh $(INSTDIR)
38
39 clean:
40 set nonomatch; rm -f oconv getbbox *.o core
41
42 bbox.o initotypes.o o_cone.o o_face.o \
43 o_instance.o oconv.o sphere.o \
44 cvmesh.o obj2mesh.o wfconv.o \
45 writeoct.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
46
47 initotypes.o o_cone.o o_face.o oconv.o \
48 sphere.o writeoct.o: ../common/octree.h
49
50 bbox.o o_cone.o o_face.o o_instance.o oconv.o \
51 sphere.o writeoct.o: ../common/object.h
52
53 bbox.o initotypes.o oconv.o obj2mesh.o sphere.o: ../common/otypes.h
54
55 oconv.o: ../common/paths.h
56
57 bbox.o o_cone.o: ../common/cone.h
58
59 bbox.o o_face.o: ../common/face.h
60
61 bbox.o getbbox.o o_instance.o: ../common/instance.h \
62 ../common/mesh.h ../common/octree.h
63
64 o_face.o: ../common/plocate.h
65
66 clip.o plocate.o: ../common/fvect.h
67
68 initotypes.o init2otypes.o: ../common/otypes.h
69
70 cvmesh.o obj2mesh.o wfconv.o: cvmesh.h \
71 ../common/octree.h ../common/object.h ../common/mesh.h
72
73 cvmesh.o: ../common/otypes.h ../common/face.h