--- ray/src/util/Rmakefile 1994/01/01 12:15:44 2.10 +++ ray/src/util/Rmakefile 1995/09/13 16:15:36 2.16 @@ -1,6 +1,5 @@ # # SCCSid "$SunId$ LBL" -# # Radiance makefile for utility programs # @@ -14,12 +13,14 @@ CC = cc INSTDIR = /usr/local/bin -PROGS = findglare xglaresrc glarendx rpiece rad +LIBDIR = /usr/local/lib/ray +PROGS = findglare xglaresrc glarendx rpiece rad vwright + all: $(PROGS) install: all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \ -raddepend.csh +raddepend.csh ivprep.csh ivpict.csh trad.wsh cp $(PROGS) $(INSTDIR) cp objview.csh $(INSTDIR)/objview cp objpict.csh $(INSTDIR)/objpict @@ -28,9 +29,13 @@ raddepend.csh cp debugcal.csh $(INSTDIR)/debugcal cp rlux.csh $(INSTDIR)/rlux cp raddepend.csh $(INSTDIR)/raddepend + cp ivprep.csh $(INSTDIR)/ivprep + cp ivpict.csh $(INSTDIR)/ivpict chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ - $(INSTDIR)/rlux $(INSTDIR)/raddepend + $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ + $(INSTDIR)/ivpict + csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl clean: set nonomatch; rm -f *.o $(PROGS) core @@ -57,6 +62,9 @@ rad: rad.o rpiece: rpiece.o Version.o $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm + +vwright: vwright.o + $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm contour: contour.o $(CC) $(CFLAGS) -o contour contour.o -lm