--- ray/src/util/Rmakefile 2018/11/17 20:15:51 2.88 +++ ray/src/util/Rmakefile 2019/07/19 22:25:03 2.91 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 2.88 2018/11/17 20:15:51 greg Exp $ +# RCSid: $Id: Rmakefile,v 2.91 2019/07/19 22:25:03 greg Exp $ # # Radiance makefile for utility programs # @@ -21,7 +21,8 @@ LIBDIR = /usr/local/lib/ray PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ vwrays xglaresrc rsensor dctimestep rttree_reduce rcollate \ - eplus_adduvf rfluxmtx rmtxop wrapBSDF evalglare radcompare + eplus_adduvf rfluxmtx rmtxop wrapBSDF evalglare radcompare \ + rcode_depth rcode_norm rcode_ident LIBFILES = rambpos.cal ambpos.cal tregsamp.dat reinhartb.cal \ klems_full.cal klems_half.cal klems_quarter.cal disk2square.cal \ @@ -144,6 +145,17 @@ radcompare: radcompare.o setscan.o: setscan.h +rcode_depth: rcode_depth.o depthcodec.o + $(CC) $(CFLAGS) -o rcode_depth rcode_depth.o depthcodec.o \ +-lrtrad $(MLIB) + +rcode_norm: rcode_norm.o normcodec.o + $(CC) $(CFLAGS) -o rcode_norm rcode_norm.o normcodec.o \ +-lrtrad $(MLIB) + +rcode_ident: rcode_ident.o idmap.o + $(CC) $(CFLAGS) -o rcode_ident rcode_ident.o idmap.o -lrtrad + eplus_adduvf.o: ../common/triangulate.h ../common/rtprocess.h \ ../common/paths.h ../common/rtio.h ../common/random.h \ ../common/rtmath.h ../common/mat4.h ../common/fvect.h @@ -257,3 +269,19 @@ radcompare.o: ../common/rtio.h ../common/color.h ../co pictool.o: ../common/view.h ../common/color.h getinfo.o: ../common/rtprocess.h ../common/platform.h ../common/resolu.h + +rcode_depth.o depthcodec.o: depthcodec.h \ +../common/view.h ../common/fvect.h ../common/resolu.h ../common/rtio.h + +rcode_depth.o: ../common/platform.h + +rcode_norm.o normcodec.o: normcodec.h \ +../common/rtmath.h ../common/mat4.h ../common/fvect.h \ +../common/resolu.h ../common/rtio.h + +rcode_norm.o: ../common/platform.h + +rcode_ident.o idmap.o: idmap.h ../common/resolu.h \ +../common/platform.h ../common/rtio.h + +rcode_ident.o: ../common/lookup.h