mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-11-25 22:37:55 +00:00
Use $(MAKE) in Makefile
This commit is contained in:
parent
3cae9ca16b
commit
26477c456b
9
Makefile
9
Makefile
|
@ -1,4 +1,5 @@
|
||||||
default: all
|
all: patch deps
|
||||||
|
$(MAKE) -C src/MP_SPDZ all
|
||||||
|
|
||||||
patch:
|
patch:
|
||||||
-git -C src/MP_SPDZ apply ../../config.patch
|
-git -C src/MP_SPDZ apply ../../config.patch
|
||||||
|
@ -6,8 +7,8 @@ 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 -j$$(nproc) boost
|
$(MAKE) -C src/MP_SPDZ boost
|
||||||
make -C src/MP_SPDZ -j$$(nproc) libote mpir
|
$(MAKE) -C src/MP_SPDZ libote mpir
|
||||||
|
|
||||||
%:
|
%:
|
||||||
make -C src/MP_SPDZ -j$$(nproc) $@
|
$(MAKE) -C src/MP_SPDZ $@
|
||||||
|
|
Loading…
Reference in a new issue