Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Makefile #13

Merged
merged 1 commit into from
Sep 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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