Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a020028eae
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (22 sloc) 0.598 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=v2.1.9
endif
all: $(DEPS)/zeromq2/src/.libs/libzmq.a
clean:
@cd $(DEPS)/zeromq2; make clean
distclean:
@rm -rf $(DEPS)
$(DEPS)/zeromq2:
@mkdir $(DEPS)
@git clone git://github.com/zeromq/zeromq2-1.git $(DEPS)/zeromq2
@echo $(ZEROMQ_VERSION)
@cd $(DEPS)/zeromq2 && git checkout $(ZEROMQ_VERSION)
$(DEPS)/zeromq2/src/.libs/libzmq.a: $(DEPS)/zeromq2
@cd $(DEPS)/zeromq2 && ./autogen.sh && ./configure $(ZMQ_FLAGS) && make
Jump to Line
Something went wrong with that request. Please try again.