--- ray/src/meta/Rmakefile 2015/10/12 20:10:50 1.15 +++ ray/src/meta/Rmakefile 2018/07/03 22:29:01 1.16 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 1.15 2015/10/12 20:10:50 greg Exp $ +# RCSid: $Id: Rmakefile,v 1.16 2018/07/03 22:29:01 greg Exp $ # # Compiles: # @@ -6,6 +6,7 @@ OPT = -O MACH = CC = cc +AR = ar MLIB = -lm CFLAGS = -DMDIR=\"$(MLIBDIR)/\" $(OPT) $(MACH) -I../common -L../lib @@ -87,7 +88,7 @@ $(DESTDIR)/mtext: mtext.o primout.o $(CC) $(CFLAGS) -o mtext mtext.o primout.o $(common) -lrtrad ../lib/libmeta.a: metacalls.o primout.o progname.o - ar rc ../lib/libmeta.a metacalls.o primout.o \ + $(AR) rc ../lib/libmeta.a metacalls.o primout.o \ $(common) progname.o -ranlib ../lib/libmeta.a