--- ray/src/cv/Rmakefile 1991/08/22 09:22:50 1.8 +++ ray/src/cv/Rmakefile 1991/10/24 10:35:23 1.11 @@ -6,22 +6,24 @@ OPT = -O -MACH = -f68881 /usr/lib/libm.il -DBSD +MACH = -DBSD CFLAGS = $(OPT) $(MACH) -I../common -L../lib -INSTDIR = /lumen/lumen/ray/bin.sun3 +INSTDIR = /usr/local/bin -LIBDIR = /lumen/lumen/ray/lib +LIBDIR = /usr/local/lib/ray PROGS = thf2rad ies2rad arch2rad nff2rad lampcolor +LIBFILES = source.cal tilt.cal lamp.tab + all: $(PROGS) -install: $(PROGS) source.cal tilt.cal +install: $(PROGS) $(LIBFILES) cp $(PROGS) $(INSTDIR) - rm -f $(LIBDIR)/source.cal $(LIBDIR)/tilt.cal - cp source.cal tilt.cal $(LIBDIR) + cd $(LIBDIR) ; rm -f $(LIBFILES) + cp $(LIBFILES) $(LIBDIR) clean: set nonomatch; rm -f $(PROGS) *.o core @@ -43,4 +45,4 @@ lampcolor: lampcolor.o arch2rad.o trans.o: trans.h -ies2rad.o spec_rgb.o: ../common/color.h +ies2rad.o lampcolor.o: ../common/color.h