--- ray/src/ot/Rmakefile 1992/09/24 21:28:29 2.3 +++ ray/src/ot/Rmakefile 1993/12/09 17:29:51 2.4 @@ -12,6 +12,7 @@ OPT = -O MACH = -DBSD CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib CC = cc +MLIB = -lm LIBDIR = /usr/local/lib/ray @@ -23,11 +24,11 @@ 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 +initotypes.o malloc.o -lrt $(MLIB) getbbox: getbbox.o readobj2.o bbox.o init2otypes.o $(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \ -bbox.o init2otypes.o -lrt -lm +bbox.o init2otypes.o -lrt $(MLIB) install: oconv getbbox cp oconv getbbox $(INSTDIR)