mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-11-22 12:57:56 +00:00
Use variable for MP-SPDZ path
This commit is contained in:
parent
aa2de131be
commit
2e1740185a
12
Makefile
12
Makefile
|
@ -1,14 +1,16 @@
|
||||||
|
MP_SPDZ_PATH := src/MP-SPDZ
|
||||||
|
|
||||||
all: patch deps
|
all: patch deps
|
||||||
$(MAKE) -C src/MP_SPDZ all
|
$(MAKE) -C $(MP_SPDZ_PATH) all
|
||||||
|
|
||||||
patch:
|
patch:
|
||||||
-git -C src/MP_SPDZ apply ../../config.patch
|
-git -C $(MP_SPDZ_PATH) apply ../../config.patch
|
||||||
|
|
||||||
deps: patch
|
deps: patch
|
||||||
sudo apt install automake build-essential clang cmake git libntl-dev \
|
sudo apt install automake build-essential clang cmake git libntl-dev \
|
||||||
libsodium-dev libssl-dev libtool m4 python3 texinfo yasm
|
libsodium-dev libssl-dev libtool m4 python3 texinfo yasm
|
||||||
$(MAKE) -C src/MP_SPDZ boost
|
$(MAKE) -C $(MP_SPDZ_PATH) boost
|
||||||
$(MAKE) -C src/MP_SPDZ libote mpir
|
$(MAKE) -C $(MP_SPDZ_PATH) libote mpir
|
||||||
|
|
||||||
%:
|
%:
|
||||||
$(MAKE) -C src/MP_SPDZ $@
|
$(MAKE) -C $(MP_SPDZ_PATH) $@
|
||||||
|
|
Loading…
Reference in a new issue