2018-10-30 03:33:06 +01:00
|
|
|
all:
|
|
|
|
$(MAKE) build
|
|
|
|
|
|
|
|
build:
|
2021-12-11 13:20:14 +01:00
|
|
|
cargo build -p warp-runner --release --target x86_64-unknown-linux-musl
|
|
|
|
strip target/x86_64-unknown-linux-musl/release/warp-runner
|
2018-10-30 03:33:06 +01:00
|
|
|
|
|
|
|
CC=x86_64-apple-darwin15-clang cargo build -p warp-runner --release --target x86_64-apple-darwin
|
|
|
|
x86_64-apple-darwin15-strip target/x86_64-apple-darwin/release/warp-runner
|
|
|
|
|
|
|
|
cargo build -p warp-runner --release --target x86_64-pc-windows-gnu
|
|
|
|
strip target/x86_64-pc-windows-gnu/release/warp-runner.exe
|
|
|
|
|
2021-12-11 13:20:14 +01:00
|
|
|
cargo build -p warp-packer --release --target x86_64-unknown-linux-musl
|
|
|
|
strip target/x86_64-unknown-linux-musl/release/warp-packer
|
2018-10-30 03:33:06 +01:00
|
|
|
|
|
|
|
CC=x86_64-apple-darwin15-clang cargo build -p warp-packer --release --target x86_64-apple-darwin
|
|
|
|
x86_64-apple-darwin15-strip target/x86_64-apple-darwin/release/warp-packer
|
|
|
|
|
|
|
|
cargo build -p warp-packer --release --target x86_64-pc-windows-gnu
|
|
|
|
strip target/x86_64-pc-windows-gnu/release/warp-packer.exe
|
|
|
|
|
|
|
|
clean:
|
|
|
|
cargo clean
|
|
|
|
|
|
|
|
check:
|
|
|
|
$(MAKE) build
|
|
|
|
$(MAKE) test
|
|
|
|
|
|
|
|
test:
|
|
|
|
cargo test
|
|
|
|
|
|
|
|
.PHONY: all build clean check test
|