--- ray/src/common/Rmakefile 2019/11/07 23:20:28 2.82 +++ ray/src/common/Rmakefile 2020/03/30 18:28:35 2.83 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 2.82 2019/11/07 23:20:28 greg Exp $ +# RCSid: $Id: Rmakefile,v 2.83 2020/03/30 18:28:35 greg Exp $ # # Makefile for ray tracing library routines # @@ -38,6 +38,8 @@ SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMP MGFOBJ = mgf_parser.o mgf_object.o mgf_xf.o mgf_context.o +WFOBJ = objutil.o readwfobj.o convertobj.o writewfobj.o + REETZOBJ = g3affine.o g3flist.o g3sphere.o g3vector.o gbasic.o muc_randvar.o OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o @@ -54,13 +56,18 @@ libmgf.a: $(MGFOBJ) $(AR) rc libmgf.a $(MGFOBJ) -ranlib libmgf.a +libwfobj.a: $(WFOBJ) + rm -f libwfobj.a + $(AR) rc libwfobj.a $(WFOBJ) + -ranlib libwfobj.a + libreetz.a: $(REETZOBJ) rm -f libreetz.a $(AR) rc libreetz.a $(REETZOBJ) -ranlib libreetz.a install: all - mv -f librtrad.a libmgf.a libreetz.a ../lib + mv -f librtrad.a libmgf.a libwfobj.a libreetz.a ../lib cd $(LIBDIR) && rm -f $(LIBFILES) cp -f $(LIBFILES) $(LIBDIR) @@ -221,3 +228,9 @@ normcodec.o: normcodec.h rtmath.h mat4.h fvect.h resol idmap.o: idmap.h resolu.h platform.h rtio.h rcode_ident.o: lookup.h + +objutil.o: objutil.h rterror.h rtio.h rtmath.h mat4.h fvect.h lookup.h + +readwfobj.o: objutil.h rtio.h rterror.h fvect.h + +writewfobj.o: objutil.h rterror.h