parameterize archiver used
This commit is contained in:
parent
c8683d72d1
commit
de0db4e1a6
@ -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…
x
Reference in New Issue
Block a user