parameterize archiver used

This commit is contained in:
ceriel 1988-01-14 13:58:44 +00:00
parent e873fd637d
commit b5d320392c

View file

@ -4,7 +4,8 @@ MODDIR=$(EMHOME)/modules
INSTALL = $(MODDIR)/install INSTALL = $(MODDIR)/install
COMPARE = $(MODDIR)/compare COMPARE = $(MODDIR)/compare
INCLUDES = -I$(MODDIR)/h INCLUDES = -I$(MODDIR)/h
CFLAGS = -c -O $(INCLUDES) CFLAGS = -O $(INCLUDES)
AR = ar
SRC = doprnt.c fprint.c print.c sprint.c format.c SRC = doprnt.c fprint.c print.c sprint.c format.c
OBJ = doprnt.o fprint.o print.o sprint.o format.o OBJ = doprnt.o fprint.o print.o sprint.o format.o
@ -12,7 +13,7 @@ all: $(LIBPRINT)
$(LIBPRINT): $(OBJ) $(LIBPRINT): $(OBJ)
rm -f $(LIBPRINT) rm -f $(LIBPRINT)
ar r $(LIBPRINT) $(OBJ) $(AR) r $(LIBPRINT) $(OBJ)
-sh -c 'ranlib $(LIBPRINT)' -sh -c 'ranlib $(LIBPRINT)'
install: all install: all