mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-12-27 12:57:53 +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:
|
||||
-git -C src/MP_SPDZ apply ../../config.patch
|
||||
|
@ -6,8 +7,8 @@ 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 -j$$(nproc) boost
|
||||
make -C src/MP_SPDZ -j$$(nproc) libote mpir
|
||||
$(MAKE) -C src/MP_SPDZ boost
|
||||
$(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