mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-12-28 05:17:53 +00:00
17 lines
388 B
Makefile
17 lines
388 B
Makefile
MP_SPDZ_PATH := src/MP-SPDZ
|
|
|
|
all: patch deps
|
|
$(MAKE) -C $(MP_SPDZ_PATH) all
|
|
|
|
patch:
|
|
-git -C $(MP_SPDZ_PATH) apply ../../config.patch
|
|
|
|
deps: patch
|
|
sudo apt install automake build-essential clang cmake git libntl-dev \
|
|
libsodium-dev libssl-dev libtool m4 python3 texinfo yasm
|
|
$(MAKE) -C $(MP_SPDZ_PATH) boost
|
|
$(MAKE) -C $(MP_SPDZ_PATH) libote mpir
|
|
|
|
%:
|
|
$(MAKE) -C $(MP_SPDZ_PATH) $@
|