Skip to content

Commit

Permalink
update Makefile once or twice a year (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
reqshark authored and fatihky committed Sep 14, 2016
1 parent df58ed9 commit 204cf95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit 204cf95

Please sign in to comment.