From c56a4286a9bcd204c45a5ce0180476fdab812b69 Mon Sep 17 00:00:00 2001 From: Bent Cardan Date: Wed, 14 Sep 2016 00:04:07 -0700 Subject: [PATCH] update Makefile once or twice a year --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 679ea13..f47a9a4 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,7 @@ libmill=$(LIB)/lib/libmill.a sodium=$(LIB)/lib/libsodium.a includes=-I$(LIB)/include -I$(LIB)/include/nanomsg -std=gnu99 clone=git clone --depth 1 https://github.com/ +clonenn=git clone https://github.com/nanomsg/nanomsg && cd nanomsg && git checkout 889a28 && cd .. args=--disable-shared --prefix=$(LIB) build=./autogen.sh && ./configure $(args) && make -j 8 && make install @@ -43,7 +44,7 @@ all: install install: @echo libraries will install now into $(shell pwd)/opt/lib sleep 2; rm -rf opt build; mkdir build - cd build; $(clone)sustrik/libmill.git && $(clone)nanomsg/nanomsg.git && $(clone)jedisct1/libsodium + cd build; $(clone)sustrik/libmill.git && $(clonenn) && $(clone)jedisct1/libsodium cd build/libmill && $(build) && cd ../nanomsg && $(build) && cd ../libsodium && $(build) check: