ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
Revision: 1.14
Committed: Wed May 29 17:33:39 1991 UTC (32 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.13: +13 -2 lines
Log Message:
added getbbox

File Contents

# User Rev Content
1 greg 1.1 # SCCSid "$SunId$ LBL"
2    
3     #
4     # Compiles for octree conversion program
5     #
6     # The compile define "STRICT" enforces strict intersection calculations
7     # so that no cube which does not intersect an object contains that object.
8     # Otherwise, a somewhat faster more lax approach is taken by certain routines.
9     #
10    
11 greg 1.4 OPT = -O
12 greg 1.10 MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il
13 greg 1.4 CFLAGS = -DSTRICT $(OPT) $(MACH)
14 greg 1.1
15 greg 1.13 LIBDIR = /usr/local/lib/ray
16    
17 greg 1.10 INSTDIR = /lumen/lumen/ray/bin.sun3
18 greg 1.1
19 greg 1.12 COMPAT = bmalloc.o
20 greg 1.1
21 greg 1.14 all: oconv getbbox
22    
23 greg 1.7 oconv: misc.o objset.o oconv.o octree.o readobj.o \
24 greg 1.1 readoct.o sphere.o fvect.o otypes.o writeoct.o o_face.o face.o plocate.o xf.o \
25     clip.o cone.o o_cone.o instance.o o_instance.o bbox.o savestr.o header.o \
26 greg 1.7 mat4.o fgetline.o initotypes.o $(COMPAT)
27 greg 1.1 cc $(CFLAGS) -o oconv oconv.o readoct.o octree.o objset.o \
28 greg 1.7 readobj.o writeoct.o fvect.o otypes.o sphere.o misc.o o_face.o \
29 greg 1.1 face.o plocate.o clip.o cone.o o_cone.o instance.o o_instance.o mat4.o xf.o \
30 greg 1.7 bbox.o savestr.o header.o fgetline.o initotypes.o $(COMPAT) -lm
31 greg 1.1
32 greg 1.14 getbbox: getbbox.o objset.o octree.o readobj2.o \
33     readoct.o fvect.o otypes.o face.o xf.o misc.o \
34     cone.o instance.o bbox.o savestr.o header.o \
35     mat4.o fgetline.o initotypes2.o $(COMPAT)
36     cc $(CFLAGS) -o getbbox getbbox.o readoct.o octree.o objset.o \
37     readobj2.o fvect.o otypes.o misc.o \
38     face.o cone.o instance.o mat4.o xf.o \
39     bbox.o savestr.o header.o fgetline.o initotypes2.o $(COMPAT) -lm
40    
41     install: oconv getbbox
42     cp oconv getbbox $(INSTDIR)
43 greg 1.9
44     clean:
45 greg 1.11 set nonomatch; rm -f oconv *.o core
46 greg 1.13
47     oconv.o: oconv.c
48     cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c
49 greg 1.1
50     xf.o: xf.c
51     cc $(CFLAGS) -DINVXF -c xf.c
52    
53 greg 1.7 bbox.o cone.o face.o initotypes.o misc.o o_cone.o o_face.o \
54 greg 1.8 o_instance.o objset.o oconv.o instance.o octree.o otypes.o readobj.o \
55     readoct.o sphere.o writeoct.o xf.o: standard.h mat4.h fvect.h
56 greg 1.1
57 greg 1.7 initotypes.o o_cone.o o_face.o objset.o oconv.o octree.o \
58 greg 1.1 readoct.o sphere.o writeoct.o: octree.h
59    
60     bbox.o cone.o face.o o_cone.o o_face.o o_instance.o objset.o oconv.o \
61     instance.o otypes.o readobj.o readoct.o sphere.o writeoct.o: object.h
62    
63 greg 1.7 bbox.o cone.o initotypes.o objset.o oconv.o otypes.o \
64 greg 1.1 readobj.o readoct.o sphere.o writeoct.o: otypes.h
65 greg 1.8
66     mat4.o: mat4.h fvect.h
67 greg 1.1
68     fvect.o: fvect.h
69    
70     bbox.o cone.o o_cone.o: cone.h
71    
72     bbox.o face.o o_face.o: face.h
73    
74     bbox.o o_instance.o instance.o: instance.h octree.h
75    
76     clip.o o_face.o plocate.o: plocate.h