Add Makefile
This commit is contained in:
parent
c378b0e1d5
commit
cdb7cab429
1 changed files with 21 additions and 0 deletions
21
Makefile
Normal file
21
Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
build:
|
||||
cargo build
|
||||
|
||||
release:
|
||||
cargo build --release
|
||||
|
||||
release_all: release_linux release_win32
|
||||
|
||||
release_linux:
|
||||
cargo build --release --target x86_64-unknown-linux-gnu
|
||||
strip target/x86_64-unknown-linux-gnu/release/gsm-agent
|
||||
|
||||
release_win32:
|
||||
cargo build --release --target x86_64-pc-windows-gnu
|
||||
strip target/x86_64-pc-windows-gnu/release/gsm-agent.exe
|
||||
|
||||
run:
|
||||
cargo run
|
||||
|
||||
watch:
|
||||
cargo-watch -x run
|
Loading…
Reference in a new issue