parameterize archiver used

This commit is contained in:
ceriel 1988-01-14 14:10:51 +00:00
parent b5d320392c
commit ea4b32d326

View file

@ -5,6 +5,7 @@ COMPARE = $(MODULES)/compare
LIBSYS = libsystem.a LIBSYS = libsystem.a
INCLUDES = -I. INCLUDES = -I.
CFLAGS = $(INCLUDES) -O CFLAGS = $(INCLUDES) -O
AR = ar
OBJ = access.o break.o chmode.o close.o create.o filesize.o \ OBJ = access.o break.o chmode.o close.o create.o filesize.o \
modtime.o lock.o open.o read.o remove.o stop.o \ modtime.o lock.o open.o read.o remove.o stop.o \
system.o time.o unlock.o write.o seek.o system.o time.o unlock.o write.o seek.o
@ -17,7 +18,7 @@ all: $(LIBSYS)
$(LIBSYS): $(OBJ) $(LIBSYS): $(OBJ)
rm -f $(LIBSYS) rm -f $(LIBSYS)
ar r $(LIBSYS) $(OBJ) $(AR) r $(LIBSYS) $(OBJ)
-sh -c 'ranlib $(LIBSYS)' -sh -c 'ranlib $(LIBSYS)'
install: all install: all