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.8 by greg, Sat Dec 15 15:17:44 1990 UTC vs.
Revision 2.3 by greg, Thu Sep 24 21:28:29 1992 UTC

# Line 9 | Line 9
9   #
10  
11   OPT = -O
12 < MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il
13 < CFLAGS = -DSTRICT $(OPT) $(MACH)
12 > MACH = -DBSD
13 > CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib
14 > CC = cc
15  
16 < INSTDIR = /usr/local/ray
16 > LIBDIR = /usr/local/lib/ray
17  
18 < INSTALL = install
18 > INSTDIR = /usr/local/bin
19  
20 < COMPAT = malloc.o
20 > all:    oconv getbbox
21  
22 < oconv:  misc.o objset.o oconv.o octree.o readobj.o \
23 < readoct.o sphere.o fvect.o otypes.o writeoct.o o_face.o face.o plocate.o xf.o \
24 < clip.o cone.o o_cone.o instance.o o_instance.o bbox.o savestr.o header.o \
25 < mat4.o fgetline.o initotypes.o $(COMPAT)
26 <        cc $(CFLAGS) -o oconv oconv.o readoct.o octree.o objset.o \
26 < readobj.o writeoct.o fvect.o otypes.o sphere.o misc.o o_face.o \
27 < face.o plocate.o clip.o cone.o o_cone.o instance.o o_instance.o mat4.o xf.o \
28 < bbox.o savestr.o header.o fgetline.o initotypes.o $(COMPAT) -lm
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
27  
28 < install:        oconv
29 <        $(INSTALL) oconv $(INSTDIR)
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 -lm
31  
32 < xf.o:   xf.c
33 <        cc $(CFLAGS) -DINVXF -c xf.c
32 > install:        oconv getbbox
33 >        cp oconv getbbox $(INSTDIR)
34  
35 < bbox.o cone.o face.o initotypes.o misc.o o_cone.o o_face.o \
36 < o_instance.o objset.o oconv.o instance.o octree.o otypes.o readobj.o \
38 < readoct.o sphere.o writeoct.o xf.o:     standard.h mat4.h fvect.h
35 > clean:
36 >        set nonomatch; rm -f oconv getbbox *.o core
37  
38 < initotypes.o o_cone.o o_face.o objset.o oconv.o octree.o \
39 < readoct.o sphere.o writeoct.o:  octree.h
38 > oconv.o:        oconv.c
39 >        $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c
40  
41 < bbox.o cone.o face.o o_cone.o o_face.o o_instance.o objset.o oconv.o \
42 < instance.o otypes.o readobj.o readoct.o sphere.o writeoct.o:    object.h
41 > readfargs.o:    readfargs.c ../common/object.h
42 >        $(CC) $(CFLAGS) -DMEMHOG -c readfargs.c
43  
44 < bbox.o cone.o initotypes.o objset.o oconv.o otypes.o \
45 < readobj.o readoct.o sphere.o writeoct.o:        otypes.h
44 > bbox.o initotypes.o o_cone.o o_face.o \
45 > o_instance.o oconv.o sphere.o \
46 > writeoct.o:     ../common/standard.h ../common/mat4.h ../common/fvect.h
47  
48 < mat4.o:         mat4.h fvect.h
48 > initotypes.o o_cone.o o_face.o oconv.o \
49 > sphere.o writeoct.o:    ../common/octree.h
50  
51 < fvect.o:        fvect.h
51 > bbox.o o_cone.o o_face.o o_instance.o oconv.o \
52 > sphere.o writeoct.o:    ../common/object.h
53  
54 < bbox.o cone.o o_cone.o: cone.h
54 > bbox.o initotypes.o oconv.o \
55 > sphere.o writeoct.o:    ../common/otypes.h
56  
57 < bbox.o face.o o_face.o: face.h
57 > bbox.o o_cone.o:        ../common/cone.h
58  
59 < bbox.o o_instance.o instance.o: instance.h octree.h
59 > bbox.o o_face.o:        ../common/face.h
60  
61 + bbox.o o_instance.o:    ../common/instance.h ../common/octree.h
62 +
63   clip.o o_face.o plocate.o:      plocate.h
64 +
65 + clip.o plocate.o:       ../common/fvect.h
66 +
67 + initotypes.o init2otypes.o:     ../common/otypes.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines