ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
(Generate patch)

Comparing ray/src/ot/Rmakefile (file contents):
Revision 1.23 by greg, Wed Oct 23 10:46:27 1991 UTC vs.
Revision 2.7 by greg, Sat Feb 22 02:07:26 2003 UTC

# Line 1 | Line 1
1 < # SCCSid "$SunId$ LBL"
2 <
1 > # RCSid: $Id$
2   #
3   #  Compiles for octree conversion program
4   #
# Line 9 | Line 8
8   #
9  
10   OPT = -O
11 < MACH = -DBSD -DSTRUCTASSIGN
12 < CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib
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  
# Line 18 | Line 19 | INSTDIR = /usr/local/bin
19  
20   all:    oconv getbbox
21  
22 < oconv:  oconv.o sphere.o writeoct.o o_face.o plocate.o \
23 < clip.o o_cone.o o_instance.o bbox.o initotypes.o readfargs.o malloc.o
24 <        cc $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
25 < plocate.o clip.o o_cone.o o_instance.o bbox.o readfargs.o \
26 < initotypes.o malloc.o -lrt -lm
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 initotypes2.o
29 <        cc $(CFLAGS) -o getbbox getbbox.o readobj2.o \
30 < bbox.o initotypes2.o -lrt -lm
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)
# Line 34 | Line 35 | install:       oconv getbbox
35   clean:
36          set nonomatch; rm -f oconv getbbox *.o core
37  
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
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
# Line 53 | Line 48 | sphere.o writeoct.o:   ../common/object.h
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 o_instance.o:    ../common/instance.h ../common/octree.h
57 > bbox.o getbbox.o o_instance.o:  ../common/instance.h ../common/octree.h
58  
59 < clip.o o_face.o plocate.o:      plocate.h
59 > o_face.o:       ../common/plocate.h
60  
61 < initotypes.o initotypes2.o:     ../common/otypes.h
61 > clip.o plocate.o:       ../common/fvect.h
62 >
63 > initotypes.o init2otypes.o:     ../common/otypes.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines