ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
Revision: 2.6
Committed: Mon Apr 3 16:46:46 1995 UTC (29 years ago) by greg
Branch: MAIN
Changes since 2.5: +4 -4 lines
Log Message:
moved plocate.h, plocate.c and clip.c to ../common

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.25 MACH = -DBSD
13 greg 1.20 CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib
14 greg 2.2 CC = cc
15 greg 2.4 MLIB = -lm
16 greg 1.1
17 greg 1.13 LIBDIR = /usr/local/lib/ray
18    
19 greg 1.23 INSTDIR = /usr/local/bin
20 greg 1.1
21 greg 1.14 all: oconv getbbox
22    
23 greg 2.6 oconv: oconv.o sphere.o writeoct.o o_face.o \
24     o_cone.o o_instance.o bbox.o initotypes.o readfargs.o malloc.o
25 greg 2.2 $(CC) $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
26 greg 2.6 o_cone.o o_instance.o bbox.o readfargs.o \
27 greg 2.4 initotypes.o malloc.o -lrt $(MLIB)
28 greg 1.1
29 greg 2.3 getbbox: getbbox.o readobj2.o bbox.o init2otypes.o
30 greg 2.2 $(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \
31 greg 2.4 bbox.o init2otypes.o -lrt $(MLIB)
32 greg 1.14
33     install: oconv getbbox
34     cp oconv getbbox $(INSTDIR)
35 greg 1.9
36     clean:
37 greg 1.17 set nonomatch; rm -f oconv getbbox *.o core
38 greg 1.13
39 greg 1.18 readfargs.o: readfargs.c ../common/object.h
40 greg 2.2 $(CC) $(CFLAGS) -DMEMHOG -c readfargs.c
41 greg 1.1
42 greg 1.15 bbox.o initotypes.o o_cone.o o_face.o \
43 greg 1.16 o_instance.o oconv.o sphere.o \
44     writeoct.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
45 greg 1.1
46 greg 1.15 initotypes.o o_cone.o o_face.o oconv.o \
47 greg 1.16 sphere.o writeoct.o: ../common/octree.h
48 greg 1.1
49 greg 1.15 bbox.o o_cone.o o_face.o o_instance.o oconv.o \
50 greg 1.16 sphere.o writeoct.o: ../common/object.h
51 greg 1.1
52 greg 1.15 bbox.o initotypes.o oconv.o \
53 greg 1.16 sphere.o writeoct.o: ../common/otypes.h
54 greg 2.5
55     oconv.o: ../common/paths.h
56 greg 1.1
57 greg 1.16 bbox.o o_cone.o: ../common/cone.h
58 greg 1.8
59 greg 1.16 bbox.o o_face.o: ../common/face.h
60 greg 1.1
61 greg 1.16 bbox.o o_instance.o: ../common/instance.h ../common/octree.h
62 greg 1.1
63 greg 2.6 o_face.o: ../common/plocate.h
64 greg 1.19
65 greg 1.24 clip.o plocate.o: ../common/fvect.h
66    
67 greg 2.3 initotypes.o init2otypes.o: ../common/otypes.h