Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b7a25c1ff7
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (25 sloc) 0.634 kb
LINUX=$(shell uname | grep Linux | wc -l | xargs echo)
ifeq ($(LINUX),1)
ZMQ_FLAGS=--with-pic
else
ZMQ_FLAGS=
endif
ifeq ($(ZEROMQ_VERSION),"")
ZEROMQ_VERSION=master
endif
all: perf
deps/zeromq2:
@mkdir -p deps
@git clone git://github.com/zeromq/zeromq2.git deps/zeromq2
@cd deps/zeromq2 && git checkout $(ZEROMQ_VERSION)
deps/zeromq2/src/.libs/libzmq.a: deps/zeromq2
@cd deps/zeromq2 && ./autogen.sh && ./configure $(ZMQ_FLAGS) && make
dependencies: deps/zeromq2/src/.libs/libzmq.a
compile: dependencies
@./rebar compile
perf: compile
@cd perf && erlc ezmq_perf.erl
test: compile
@./rebar eunit
docs:
@./rebar doc
Jump to Line
Something went wrong with that request. Please try again.