-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (21 loc) · 998 Bytes
/
Makefile
File metadata and controls
26 lines (21 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
all: x86_64-unknown-linux-musl mips-unknown-linux-musl mipsel-unknown-linux-musl arm-unknown-linux-musleabi x86_64-pc-windows-gnu
mips-unknown-linux-musl:
cross build --release --target $@
mips-linux-gnu-strip ./target/$@/release/hust-network-login
zip $@.zip -j ./target/$@/release/hust-network-login
mipsel-unknown-linux-musl:
cross build --release --target $@
mips-linux-gnu-strip ./target/$@/release/hust-network-login
zip $@.zip -j ./target/$@/release/hust-network-login
arm-unknown-linux-musleabi:
cross build --release --target $@
arm-linux-gnueabihf-strip ./target/$@/release/hust-network-login
zip $@.zip -j ./target/$@/release/hust-network-login
x86_64-pc-windows-gnu:
cross build --release --target $@
strip ./target/$@/release/hust-network-login.exe
zip $@.zip -j ./target/$@/release/hust-network-login.exe
x86_64-unknown-linux-musl:
cargo build --release --target $@
strip ./target/$@/release/hust-network-login
zip $@.zip -j ./target/$@/release/hust-network-login