ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
Revision: 1.24
Committed: Wed Oct 23 13:43:35 1991 UTC (32 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.23: +2 -0 lines
Log Message:
added FLOAT definition to better control size of structures

File Contents

# Content
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 OPT = -O
12 MACH = -DBSD -DSTRUCTASSIGN
13 CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib
14
15 LIBDIR = /usr/local/lib/ray
16
17 INSTDIR = /usr/local/bin
18
19 all: oconv getbbox
20
21 oconv: oconv.o sphere.o writeoct.o o_face.o plocate.o \
22 clip.o o_cone.o o_instance.o bbox.o initotypes.o readfargs.o malloc.o
23 cc $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
24 plocate.o clip.o o_cone.o o_instance.o bbox.o readfargs.o \
25 initotypes.o malloc.o -lrt -lm
26
27 getbbox: getbbox.o readobj2.o bbox.o initotypes2.o
28 cc $(CFLAGS) -o getbbox getbbox.o readobj2.o \
29 bbox.o initotypes2.o -lrt -lm
30
31 install: oconv getbbox
32 cp oconv getbbox $(INSTDIR)
33
34 clean:
35 set nonomatch; rm -f oconv getbbox *.o core
36
37 oconv.o: oconv.c
38 cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c
39
40 readfargs.o: readfargs.c ../common/object.h
41 cc $(CFLAGS) -DMEMHOG -c readfargs.c
42
43 bbox.o initotypes.o o_cone.o o_face.o \
44 o_instance.o oconv.o sphere.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 \
54 sphere.o writeoct.o: ../common/otypes.h
55
56 bbox.o o_cone.o: ../common/cone.h
57
58 bbox.o o_face.o: ../common/face.h
59
60 bbox.o o_instance.o: ../common/instance.h ../common/octree.h
61
62 clip.o o_face.o plocate.o: plocate.h
63
64 clip.o plocate.o: ../common/fvect.h
65
66 initotypes.o initotypes2.o: ../common/otypes.h