ch_10/ch_11: Improve Makefiles

This commit is contained in:
Sylvain Kerkour
2021-05-28 12:36:10 +00:00
committed by GitHub
parent 886e90c52a
commit 9bcce481b2
2 changed files with 3 additions and 6 deletions
+2 -3
View File
@@ -8,9 +8,8 @@ build: agent client server
.PHONY: agent
agent:
cargo build -p agent --release --target x86_64-unknown-linux-musl
strip -s target/x86_64-unknown-linux-musl/release/agent
upx -9 target/x86_64-unknown-linux-musl/release/agent
cargo build -p agent --release
.PHONY: client
client:
+1 -3
View File
@@ -8,9 +8,7 @@ build: agent client server
.PHONY: agent
agent:
cargo build -p agent --release --target x86_64-unknown-linux-musl
strip -s target/x86_64-unknown-linux-musl/release/agent
upx -9 target/x86_64-unknown-linux-musl/release/agent
cargo build -p agent --release
.PHONY: client
client: