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

View File

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