--- ray/src/ot/Rmakefile 1989/02/02 10:33:07 1.1 +++ ray/src/ot/Rmakefile 1991/05/29 16:22:34 1.13 @@ -8,40 +8,51 @@ # Otherwise, a somewhat faster more lax approach is taken by certain routines. # -CFLAGS = -DSTRICT -O -f68881 /usr/lib/f68881.il +OPT = -O +MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il +CFLAGS = -DSTRICT $(OPT) $(MACH) -INSTDIR = /usr/local/ray +LIBDIR = /usr/local/lib/ray -COMPAT = malloc.o +INSTDIR = /lumen/lumen/ray/bin.sun3 -oconv: dummy.o misc.o objset.o oconv.o octree.o readobj.o \ +COMPAT = bmalloc.o + +oconv: misc.o objset.o oconv.o octree.o readobj.o \ readoct.o sphere.o fvect.o otypes.o writeoct.o o_face.o face.o plocate.o xf.o \ clip.o cone.o o_cone.o instance.o o_instance.o bbox.o savestr.o header.o \ -mat4.o $(COMPAT) +mat4.o fgetline.o initotypes.o $(COMPAT) cc $(CFLAGS) -o oconv oconv.o readoct.o octree.o objset.o \ -readobj.o writeoct.o fvect.o otypes.o sphere.o dummy.o misc.o o_face.o \ +readobj.o writeoct.o fvect.o otypes.o sphere.o misc.o o_face.o \ face.o plocate.o clip.o cone.o o_cone.o instance.o o_instance.o mat4.o xf.o \ -bbox.o savestr.o header.o $(COMPAT) -lm +bbox.o savestr.o header.o fgetline.o initotypes.o $(COMPAT) -lm install: oconv - sccs check - install oconv $(INSTDIR) + cp oconv $(INSTDIR) +clean: + set nonomatch; rm -f oconv *.o core + +oconv.o: oconv.c + cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c + xf.o: xf.c cc $(CFLAGS) -DINVXF -c xf.c -bbox.o cone.o face.o misc.o o_cone.o o_face.o \ -o_instance.o objset.o oconv.o instance.o octree.o \ -otypes.o readobj.o readoct.o sphere.o writeoct.o: standard.h fvect.h +bbox.o cone.o face.o initotypes.o misc.o o_cone.o o_face.o \ +o_instance.o objset.o oconv.o instance.o octree.o otypes.o readobj.o \ +readoct.o sphere.o writeoct.o xf.o: standard.h mat4.h fvect.h -o_cone.o o_face.o objset.o oconv.o octree.o \ +initotypes.o o_cone.o o_face.o objset.o oconv.o octree.o \ readoct.o sphere.o writeoct.o: octree.h bbox.o cone.o face.o o_cone.o o_face.o o_instance.o objset.o oconv.o \ instance.o otypes.o readobj.o readoct.o sphere.o writeoct.o: object.h -bbox.o cone.o oconv.o otypes.o \ +bbox.o cone.o initotypes.o objset.o oconv.o otypes.o \ readobj.o readoct.o sphere.o writeoct.o: otypes.h + +mat4.o: mat4.h fvect.h fvect.o: fvect.h