Merge pull request #46 from olesalscheider/master

Do not hardcode ar
This commit is contained in:
Bruno Silvestre 2015-08-03 20:37:00 -03:00
commit 24e5ec13f3

View File

@ -6,7 +6,7 @@ OBJS= \
CC ?= cc
CFLAGS += $(MYCFLAGS) -DLUASOCKET_DEBUG
AR := ar rcu
AR ?= ar
RANLIB ?= ranlib
.PHONY: all clean
@ -14,7 +14,7 @@ RANLIB ?= ranlib
all: libluasocket.a
libluasocket.a: $(OBJS)
$(AR) $@ $(OBJS)
$(AR) rcu $@ $(OBJS)
$(RANLIB) $@
clean: