parameterize archiver used
This commit is contained in:
parent
e873fd637d
commit
b5d320392c
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue