Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 08fe70c795
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (26 sloc) 0.665 kb
LINUX=$(shell uname | grep Linux | wc -l | xargs echo)
DEPS=../deps
ifeq ($(LINUX),1)
ZMQ_FLAGS=--with-pic
else
ZMQ_FLAGS=
endif
ifndef ZEROMQ_VERSION
ZEROMQ_VERSION=v3.1.0
endif
all: $(DEPS)/zeromq3/src/.libs/libzmq.a
clean:
if test -e $(DEPS)/zeromq3/Makefile; then \
cd $(DEPS)/zeromq3; make clean; \
else \
true; \
fi
distclean:
@rm -rf $(DEPS)
$(DEPS)/zeromq3:
@mkdir $(DEPS)
@git clone git://github.com/zeromq/libzmq.git $(DEPS)/zeromq3
@echo $(ZEROMQ_VERSION)
@cd $(DEPS)/zeromq3 && git checkout $(ZEROMQ_VERSION)
$(DEPS)/zeromq3/src/.libs/libzmq.a: $(DEPS)/zeromq3
@cd $(DEPS)/zeromq3 && ./autogen.sh && ./configure $(ZMQ_FLAGS) && make
Jump to Line
Something went wrong with that request. Please try again.