--- ray/src/common/Rmakefile 2014/02/07 19:00:45 2.70 +++ ray/src/common/Rmakefile 2015/08/12 23:07:59 2.73 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 2.70 2014/02/07 19:00:45 greg Exp $ +# RCSid: $Id: Rmakefile,v 2.73 2015/08/12 23:07:59 greg Exp $ # # Makefile for ray tracing library routines # @@ -35,6 +35,8 @@ SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMP MGFOBJ = mgf_parser.o mgf_object.o mgf_xf.o mgf_context.o +REETZOBJ = g3affine.o g3flist.o g3sphere.o g3vector.o gbasic.o maxheap.o + OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o LIBFILES = tmesh.cal @@ -49,12 +51,17 @@ libmgf.a: $(MGFOBJ) ar rc libmgf.a $(MGFOBJ) -ranlib libmgf.a +libreetz.a: $(REETZOBJ) + rm -f libreetz.a + ar rc libreetz.a $(REETZOBJ) + -ranlib libreetz.a + install: all - mv -f librtrad.a libmgf.a ../lib + mv -f librtrad.a libmgf.a libreetz.a ../lib cd $(LIBDIR) && rm -f $(LIBFILES) cp -f $(LIBFILES) $(LIBDIR) -all: librtrad.a libmgf.a $(SPECIAL) +all: librtrad.a libmgf.a libreetz.a $(SPECIAL) clean: rm -f *.o librtrad.a libmgf.a @@ -85,7 +92,7 @@ cone.o: cone.h face.o: face.h -fvect.o: fvect.h +fvect.o: fvect.h random.h instance.o: instance.h @@ -183,3 +190,18 @@ loadbsdf.o: bsdf.h rtio.h rterror.h paths.h interp2d.o: interp2d.h triangulate.o: triangulate.h + +process.o readobj.o readoct.o rglfile.o \ +tmapcolrs.o unix_process.o win_process.o: rtprocess.h + +gbasic.o: gbasic.h + +g3flist.o g3affine.o g3sphere.o g3vector.o: g3vector.h gbasic.h fvect.h + +g3affine.o: g3affine.h + +g3affine.o g3sphere.o: g3sphere.h + +g3flist.o: g3flist.h + +maxheap.o: maxheap.h