--- ray/src/cal/Rmakefile 2019/07/05 00:20:57 1.10 +++ ray/src/cal/Rmakefile 2023/02/09 00:18:05 1.12 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 1.10 2019/07/05 00:20:57 greg Exp $ +# RCSid: $Id: Rmakefile,v 1.12 2023/02/09 00:18:05 greg Exp $ # # Compiles for icalc, rcalc, ev, and utilities # @@ -15,6 +15,8 @@ CFLAGS = $(OPT) $(MACH) $(DEFS) -I../common -L../lib MLIB = -lm +INSTALL = cp + INSTDIR = /usr/local/bin PROGS = icalc ev rcalc total cnt neaten rlam rsplit tabfunc histo @@ -22,7 +24,7 @@ PROGS = icalc ev rcalc total cnt neaten rlam rsplit ta all: $(PROGS) install: $(PROGS) - cp $(PROGS) $(INSTDIR) + $(INSTALL) $(PROGS) $(INSTDIR) clean: set nonomatch; rm -f *.o $(PROGS) @@ -40,7 +42,7 @@ total: total.o $(CC) $(CFLAGS) -o total total.o -lrtrad $(MLIB) cnt: cnt.o - $(CC) $(CFLAGS) -o cnt cnt.o + $(CC) $(CFLAGS) -o cnt cnt.o -lrtrad neaten: neat.o $(CC) $(CFLAGS) -o neaten neat.o