mirror of
https://github.com/skerkour/black-hat-rust
synced 2026-06-08 17:29:34 +00:00
ch_10/ch_11: Improve Makefiles
This commit is contained in:
+2
-3
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user