--- ray/src/cal/Rmakefile 2004/01/01 19:31:45 1.2 +++ ray/src/cal/Rmakefile 2019/07/05 00:20:57 1.10 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 1.2 2004/01/01 19:31:45 greg Exp $ +# RCSid: $Id: Rmakefile,v 1.10 2019/07/05 00:20:57 greg Exp $ # # Compiles for icalc, rcalc, ev, and utilities # @@ -17,7 +17,7 @@ MLIB = -lm INSTDIR = /usr/local/bin -PROGS = icalc ev rcalc total cnt neaten rlam tabfunc histo +PROGS = icalc ev rcalc total cnt neaten rlam rsplit tabfunc histo all: $(PROGS) @@ -28,16 +28,16 @@ clean: set nonomatch; rm -f *.o $(PROGS) icalc: calc.o - $(CC) $(CFLAGS) -o icalc calc.o -lrt $(MLIB) + $(CC) $(CFLAGS) -o icalc calc.o -lrtrad $(MLIB) ev: ev.o - $(CC) $(CFLAGS) -o ev ev.o -lrt $(MLIB) + $(CC) $(CFLAGS) -o ev ev.o -lrtrad $(MLIB) rcalc: rcalc.o - $(CC) $(CFLAGS) -o rcalc rcalc.o -lrt $(MLIB) + $(CC) $(CFLAGS) -o rcalc rcalc.o -lrtrad $(MLIB) total: total.o - $(CC) $(CFLAGS) -o total total.o $(MLIB) + $(CC) $(CFLAGS) -o total total.o -lrtrad $(MLIB) cnt: cnt.o $(CC) $(CFLAGS) -o cnt cnt.o @@ -46,12 +46,22 @@ neaten: neat.o $(CC) $(CFLAGS) -o neaten neat.o rlam: lam.o - $(CC) $(CFLAGS) -o rlam lam.o + $(CC) $(CFLAGS) -o rlam lam.o -lrtrad +rsplit: rsplit.o + $(CC) $(CFLAGS) -o rsplit rsplit.c -lrtrad + tabfunc: tabfunc.o - $(CC) $(CFLAGS) -o tabfunc tabfunc.o -lrt $(MLIB) + $(CC) $(CFLAGS) -o tabfunc tabfunc.o -lrtrad $(MLIB) histo: histo.o $(CC) $(CFLAGS) -o histo histo.o $(MLIB) calc.o ev.o rcalc.o: ../common/calcomp.h + +total.o rcalc.o: ../common/platform.h + +rcalc.o: ../common/rterror.h ../common/rtmisc.h ../common/rtio.h + +tabfunc.o: ../common/rtmath.h ../common/mat4.h \ +../common/fvect.h ../common/tiff.h