1
protomask/Makefile
2023-07-17 19:51:59 -04:00

9 lines
326 B
Makefile

SRC=$(wildcard src/*.rs) $(wildcard src/**/*.rs) $(wildcard src/**/**/*.rs) Cargo.toml
target/debug/protomask: $(SRC)
cross build --target x86_64-unknown-linux-musl
sudo setcap cap_net_admin=eip $@
target/release/protomask: $(SRC)
cross build --target x86_64-unknown-linux-musl --release
sudo setcap cap_net_admin=eip $@