--- ray/src/ot/Rmakefile 2006/03/10 19:40:13 2.16 +++ ray/src/ot/Rmakefile 2023/02/09 00:18:05 2.20 @@ -1,18 +1,21 @@ -# RCSid: $Id: Rmakefile,v 2.16 2006/03/10 19:40:13 schorsch Exp $ +# RCSid: $Id: Rmakefile,v 2.20 2023/02/09 00:18:05 greg Exp $ # # Compiles for octree conversion program # # The compile define "STRICT" enforces strict intersection calculations # so that no cube which does not intersect an object contains that object. # Otherwise, a somewhat faster more lax approach is taken by certain routines. +# This is set to "1" by default, so -DSTRICT=0 now turns it off. # OPT = -O MACH = -DBSD -CFLAGS = -DSTRICT -I../common -L../lib $(OPT) $(MACH) +CFLAGS = -I../common -L../lib $(OPT) $(MACH) CC = cc MLIB = -lm +INSTALL = cp + LIBDIR = /usr/local/lib/ray INSTDIR = /usr/local/bin @@ -36,17 +39,17 @@ obj2mesh: obj2mesh.o cvmesh.o wfconv.o o_face.o writem o_face.o writemesh.o -lrtrad $(MLIB) install: $(PROGS) - cp $(PROGS) $(INSTDIR) + $(INSTALL) $(PROGS) $(INSTDIR) clean: - set nonomatch; rm -f $(PROGS) *.o core + set nonomatch; rm -f $(PROGS) *.o bbox.o initotypes.o o_cone.o o_face.o \ o_instance.o oconv.o sphere.o \ cvmesh.o obj2mesh.o wfconv.o \ writeoct.o: ../common/standard.h ../common/rtmisc.h ../common/rtio.h \ ../common/rtmath.h ../common/mat4.h ../common/fvect.h \ -../common/rterror.h ../common/tifftypes.h +../common/rterror.h initotypes.o o_cone.o o_face.o oconv.o \ sphere.o writeoct.o: ../common/octree.h