--- ray/src/ot/Rmakefile 1990/12/13 10:52:49 1.7 +++ ray/src/ot/Rmakefile 1991/05/29 16:22:34 1.13 @@ -9,14 +9,14 @@ # OPT = -O -MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il +MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il CFLAGS = -DSTRICT $(OPT) $(MACH) -INSTDIR = /usr/local/ray +LIBDIR = /usr/local/lib/ray -INSTALL = install +INSTDIR = /lumen/lumen/ray/bin.sun3 -COMPAT = malloc.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 \ @@ -28,14 +28,20 @@ face.o plocate.o clip.o cone.o o_cone.o instance.o o_i bbox.o savestr.o header.o fgetline.o initotypes.o $(COMPAT) -lm install: oconv - $(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 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: standard.h fvect.h +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 initotypes.o o_cone.o o_face.o objset.o oconv.o octree.o \ readoct.o sphere.o writeoct.o: octree.h @@ -45,6 +51,8 @@ instance.o otypes.o readobj.o readoct.o sphere.o write 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