--- ray/src/ot/Rmakefile 1991/07/15 12:15:08 1.16 +++ ray/src/ot/Rmakefile 1991/09/05 11:17:38 1.21 @@ -10,8 +10,10 @@ OPT = -O MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common +CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib +COMPAT = malloc.o + LIBDIR = /usr/local/lib/ray INSTDIR = /lumen/lumen/ray/bin.sun3 @@ -19,24 +21,27 @@ INSTDIR = /lumen/lumen/ray/bin.sun3 all: oconv getbbox oconv: oconv.o sphere.o writeoct.o o_face.o plocate.o \ -clip.o o_cone.o o_instance.o bbox.o initotypes.o +clip.o o_cone.o o_instance.o bbox.o initotypes.o readfargs.o $(COMPAT) 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 \ -initotypes.o ../common/librt.a -lm +plocate.o clip.o o_cone.o o_instance.o bbox.o readfargs.o \ +initotypes.o $(COMPAT) -lrt -lm getbbox: getbbox.o readobj2.o bbox.o initotypes2.o cc $(CFLAGS) -o getbbox getbbox.o readobj2.o \ -bbox.o initotypes2.o ../common/librt.a -lm +bbox.o initotypes2.o -lrt -lm install: oconv getbbox cp oconv getbbox $(INSTDIR) clean: - set nonomatch; rm -f oconv *.o core + set nonomatch; rm -f oconv getbbox *.o core oconv.o: oconv.c cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c +readfargs.o: readfargs.c ../common/object.h + cc $(CFLAGS) -DMEMHOG -c readfargs.c + 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 @@ -57,3 +62,5 @@ 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