diff --git a/Makefile b/Makefile index b89b063..a012c2c 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,16 @@ +MP_SPDZ_PATH := src/MP-SPDZ + all: patch deps - $(MAKE) -C src/MP_SPDZ all + $(MAKE) -C $(MP_SPDZ_PATH) all patch: - -git -C src/MP_SPDZ apply ../../config.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 src/MP_SPDZ boost - $(MAKE) -C src/MP_SPDZ libote mpir + $(MAKE) -C $(MP_SPDZ_PATH) boost + $(MAKE) -C $(MP_SPDZ_PATH) libote mpir %: - $(MAKE) -C src/MP_SPDZ $@ + $(MAKE) -C $(MP_SPDZ_PATH) $@