Commit d5b51805 authored by Florian Fischer's avatar Florian Fischer
Browse files

[make] use $(MAKE) instead of make and silence cargo when -s is set

parent 92416876
......@@ -5,10 +5,10 @@ PYTHONFILES := eval.py plot.py parse_results.py plot_tail_latency.py plot_utils.
all: servers clients
servers:
make -C servers/
$(MAKE) -C servers/
clients:
make -C clients/
$(MAKE) -C clients/
check: check-pylint check-format
......@@ -30,8 +30,8 @@ clean-emper:
git -C emper/ worktree prune
clean: clean-emper
make -C servers clean
make -C clients clean
$(MAKE) -C servers clean
$(MAKE) -C clients clean
eval: all
./eval.py
......@@ -2,16 +2,20 @@ CLIENT_MAKEFILES = $(shell dirname $(shell find . -name Makefile -not -path "./M
.PHONY: all clean rust_echo_bench rust_echo_bench-clean $(CLIENT_MAKEFILES)
ifneq (,$(findstring s,$(MAKEFLAGS)))
CARGO_SILENT:=-q
endif
all: rust_echo_bench $(CLIENT_MAKEFILES)
rust_echo_bench:
cd rust_echo_bench && cargo build --release
cd rust_echo_bench && cargo build --release $(CARGO_SILENT)
rust_echo_bench-clean:
cd rust_echo_bench && cargo clean
clean: rust_echo_bench-clean
for mf in $(CLIENT_MAKEFILES); do make -C $${mf} clean; done
for mf in $(CLIENT_MAKEFILES); do $(MAKE) -C $${mf} clean; done
$(CLIENT_MAKEFILES):
$(MAKE) -C $@
......@@ -6,10 +6,10 @@ SERVER_MAKEFILES = $(shell dirname $(shell find ./ -name Makefile -not -path "./
all: $(SERVER_MAKEFILES)
clean:
for mf in $(SERVER_MAKEFILES) burak; do make -C $${mf} clean; done
for mf in $(SERVER_MAKEFILES) burak; do $(MAKE) -C $${mf} clean; done
burak:
make -C burak/ release
$(MAKE) -C burak/ release
$(SERVER_MAKEFILES):
$(MAKE) -C $@
.PHONY: all clean
ifneq (,$(findstring s,$(MAKEFLAGS)))
CARGO_SILENT:=-q
endif
all:
cargo build --release
cargo build --release $(CARGO_SILENT)
clean:
cargo clean
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment