1
0
Fork 0
mirror of https://github.com/samsapti/bachelor-project.git synced 2024-11-22 12:57:56 +00:00
bachelor-project/Makefile

20 lines
438 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
%.mpc:
cd $(MP_SPDZ_PATH) && ./compile.py ../$@
%:
$(MAKE) -C $(MP_SPDZ_PATH) $@