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

17 lines
388 B
Makefile
Raw Normal View History

2023-03-29 15:01:39 +00:00
MP_SPDZ_PATH := src/MP-SPDZ
2023-03-29 14:39:20 +00:00
all: patch deps
2023-03-29 15:01:39 +00:00
$(MAKE) -C $(MP_SPDZ_PATH) all
2023-03-24 19:04:26 +00:00
2023-03-24 19:13:53 +00:00
patch:
2023-03-29 15:01:39 +00:00
-git -C $(MP_SPDZ_PATH) apply ../../config.patch
2023-03-24 19:13:53 +00:00
deps: patch
2023-03-24 19:04:26 +00:00
sudo apt install automake build-essential clang cmake git libntl-dev \
libsodium-dev libssl-dev libtool m4 python3 texinfo yasm
2023-03-29 15:01:39 +00:00
$(MAKE) -C $(MP_SPDZ_PATH) boost
$(MAKE) -C $(MP_SPDZ_PATH) libote mpir
2023-03-24 18:52:02 +00:00
%:
2023-03-29 15:01:39 +00:00
$(MAKE) -C $(MP_SPDZ_PATH) $@