ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
Revision: 2.7
Committed: Sat Feb 22 02:07:26 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.6: +6 -10 lines
Log Message:
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

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
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 install: oconv getbbox
33 cp oconv getbbox $(INSTDIR)
34
35 clean:
36 set nonomatch; rm -f oconv getbbox *.o core
37
38 bbox.o initotypes.o o_cone.o o_face.o \
39 o_instance.o oconv.o sphere.o \
40 writeoct.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
41
42 initotypes.o o_cone.o o_face.o oconv.o \
43 sphere.o writeoct.o: ../common/octree.h
44
45 bbox.o o_cone.o o_face.o o_instance.o oconv.o \
46 sphere.o writeoct.o: ../common/object.h
47
48 bbox.o initotypes.o oconv.o \
49 sphere.o writeoct.o: ../common/otypes.h
50
51 oconv.o: ../common/paths.h
52
53 bbox.o o_cone.o: ../common/cone.h
54
55 bbox.o o_face.o: ../common/face.h
56
57 bbox.o getbbox.o o_instance.o: ../common/instance.h ../common/octree.h
58
59 o_face.o: ../common/plocate.h
60
61 clip.o plocate.o: ../common/fvect.h
62
63 initotypes.o init2otypes.o: ../common/otypes.h