ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
Revision: 2.2
Committed: Wed Jul 1 15:07:42 1992 UTC (31 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.1: +5 -4 lines
Log Message:
Added CC define for different compilers

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 1.1
16 greg 1.13 LIBDIR = /usr/local/lib/ray
17    
18 greg 1.23 INSTDIR = /usr/local/bin
19 greg 1.1
20 greg 1.14 all: oconv getbbox
21    
22 greg 1.15 oconv: oconv.o sphere.o writeoct.o o_face.o plocate.o \
23 greg 1.22 clip.o o_cone.o o_instance.o bbox.o initotypes.o readfargs.o malloc.o
24 greg 2.2 $(CC) $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
25 greg 1.18 plocate.o clip.o o_cone.o o_instance.o bbox.o readfargs.o \
26 greg 1.22 initotypes.o malloc.o -lrt -lm
27 greg 1.1
28 greg 1.15 getbbox: getbbox.o readobj2.o bbox.o initotypes2.o
29 greg 2.2 $(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \
30 greg 1.20 bbox.o initotypes2.o -lrt -lm
31 greg 1.14
32     install: oconv getbbox
33     cp oconv getbbox $(INSTDIR)
34 greg 1.9
35     clean:
36 greg 1.17 set nonomatch; rm -f oconv getbbox *.o core
37 greg 1.13
38     oconv.o: oconv.c
39 greg 2.2 $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c
40 greg 1.18
41     readfargs.o: readfargs.c ../common/object.h
42 greg 2.2 $(CC) $(CFLAGS) -DMEMHOG -c readfargs.c
43 greg 1.1
44 greg 1.15 bbox.o initotypes.o o_cone.o o_face.o \
45 greg 1.16 o_instance.o oconv.o sphere.o \
46     writeoct.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
47 greg 1.1
48 greg 1.15 initotypes.o o_cone.o o_face.o oconv.o \
49 greg 1.16 sphere.o writeoct.o: ../common/octree.h
50 greg 1.1
51 greg 1.15 bbox.o o_cone.o o_face.o o_instance.o oconv.o \
52 greg 1.16 sphere.o writeoct.o: ../common/object.h
53 greg 1.1
54 greg 1.15 bbox.o initotypes.o oconv.o \
55 greg 1.16 sphere.o writeoct.o: ../common/otypes.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     clip.o o_face.o plocate.o: plocate.h
64 greg 1.19
65 greg 1.24 clip.o plocate.o: ../common/fvect.h
66    
67 greg 1.19 initotypes.o initotypes2.o: ../common/otypes.h