Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
manycore
emper-io-eval
Commits
d5b51805
Commit
d5b51805
authored
Aug 27, 2021
by
Florian Fischer
Browse files
[make] use $(MAKE) instead of make and silence cargo when -s is set
parent
92416876
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
d5b51805
...
...
@@ -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
clients/Makefile
View file @
d5b51805
...
...
@@ -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
$@
servers/Makefile
View file @
d5b51805
...
...
@@ -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
$@
servers/tokio-echo/Makefile
View file @
d5b51805
.PHONY
:
all clean
ifneq
(,$(findstring s,$(MAKEFLAGS)))
CARGO_SILENT
:=
-q
endif
all
:
cargo build
--release
cargo build
--release
$(CARGO_SILENT)
clean
:
cargo clean
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment