--- ray/src/ot/Rmakefile 1990/12/15 15:17:44 1.8 +++ ray/src/ot/Rmakefile 1991/10/23 10:46:27 1.23 @@ -9,51 +9,56 @@ # OPT = -O -MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il -CFLAGS = -DSTRICT $(OPT) $(MACH) +MACH = -DBSD -DSTRUCTASSIGN +CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib -INSTDIR = /usr/local/ray +LIBDIR = /usr/local/lib/ray -INSTALL = install +INSTDIR = /usr/local/bin -COMPAT = malloc.o +all: oconv getbbox -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 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 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 fgetline.o initotypes.o $(COMPAT) -lm +oconv: oconv.o sphere.o writeoct.o o_face.o plocate.o \ +clip.o o_cone.o o_instance.o bbox.o initotypes.o readfargs.o malloc.o + cc $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \ +plocate.o clip.o o_cone.o o_instance.o bbox.o readfargs.o \ +initotypes.o malloc.o -lrt -lm -install: oconv - $(INSTALL) oconv $(INSTDIR) +getbbox: getbbox.o readobj2.o bbox.o initotypes2.o + cc $(CFLAGS) -o getbbox getbbox.o readobj2.o \ +bbox.o initotypes2.o -lrt -lm -xf.o: xf.c - cc $(CFLAGS) -DINVXF -c xf.c +install: oconv getbbox + cp oconv getbbox $(INSTDIR) -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 +clean: + set nonomatch; rm -f oconv getbbox *.o core -initotypes.o o_cone.o o_face.o objset.o oconv.o octree.o \ -readoct.o sphere.o writeoct.o: octree.h +oconv.o: oconv.c + cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c -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 +readfargs.o: readfargs.c ../common/object.h + cc $(CFLAGS) -DMEMHOG -c readfargs.c -bbox.o cone.o initotypes.o objset.o oconv.o otypes.o \ -readobj.o readoct.o sphere.o writeoct.o: otypes.h +bbox.o initotypes.o o_cone.o o_face.o \ +o_instance.o oconv.o sphere.o \ +writeoct.o: ../common/standard.h ../common/mat4.h ../common/fvect.h -mat4.o: mat4.h fvect.h +initotypes.o o_cone.o o_face.o oconv.o \ +sphere.o writeoct.o: ../common/octree.h -fvect.o: fvect.h +bbox.o o_cone.o o_face.o o_instance.o oconv.o \ +sphere.o writeoct.o: ../common/object.h -bbox.o cone.o o_cone.o: cone.h +bbox.o initotypes.o oconv.o \ +sphere.o writeoct.o: ../common/otypes.h -bbox.o face.o o_face.o: face.h +bbox.o o_cone.o: ../common/cone.h -bbox.o o_instance.o instance.o: instance.h octree.h +bbox.o o_face.o: ../common/face.h +bbox.o o_instance.o: ../common/instance.h ../common/octree.h + clip.o o_face.o plocate.o: plocate.h + +initotypes.o initotypes2.o: ../common/otypes.h