Skip to content

Commit

Permalink
Merge pull request #27 from muelli/typo
Browse files Browse the repository at this point in the history
Makefile: Fix minor typo in "you*r* current folder"
  • Loading branch information
g0h4n authored Jan 9, 2024
2 parents a1794e2 + e6170b5 commit 33c8112
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ update_rustup:
release: check_cargo
cargo build --release
cp target/release/$(prog) .
@echo -e "[+] You can find \033[1;32m$(prog)\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)\033[0m in your current folder."

debug: check_cargo
cargo build
cp target/debug/$(prog) ./$(prog)_debug
@echo -e "[+] You can find \033[1;32m$(prog)_debug\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_debug\033[0m in your current folder."

doc: check_cargo
cargo doc --open --no-deps
Expand All @@ -51,12 +51,12 @@ install_windows_deps: update_rustup
build_windows_x64:
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release --target x86_64-pc-windows-gnu
cp target/x86_64-pc-windows-gnu/release/$(prog).exe .
@echo -e "[+] You can find \033[1;32m$(prog).exe\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog).exe\033[0m in your current folder."

build_windows_x86:
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release --target i686-pc-windows-gnu
cp target/i686-pc-windows-gnu/release/$(prog).exe ./$(prog)_x86.exe
@echo -e "[+] You can find \033[1;32m$(prog)_x86.exe\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_x86.exe\033[0m in your current folder."

windows: check_rustup install_windows_deps build_windows_x64

Expand All @@ -67,7 +67,7 @@ windows_x86: check_rustup install_windows_deps build_windows_x86
build_windows_noargs:
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release --target x86_64-pc-windows-gnu --features noargs
cp target/x86_64-pc-windows-gnu/release/$(prog).exe ./$(prog)_noargs.exe
@echo -e "[+] You can find \033[1;32m$(prog)_noargs.exe\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_noargs.exe\033[0m in your current folder."

windows_noargs: check_rustup install_windows_deps build_windows_noargs

Expand All @@ -78,7 +78,7 @@ install_linux_musl_deps:
build_linux_musl:
cross build --target x86_64-unknown-linux-musl --release --features nogssapi --no-default-features
cp target/x86_64-unknown-linux-musl/release/$(prog) ./$(prog)_musl
@echo -e "[+] You can find \033[1;32m$(prog)_musl\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_musl\033[0m in your current folder."

linux_musl: check_rustup install_cross build_linux_musl

Expand All @@ -89,14 +89,14 @@ install_linux_deps:update_rustup
build_linux_aarch64:
cross build --target aarch64-unknown-linux-gnu --release --features nogssapi --no-default-features
cp target/aarch64-unknown-linux-gnu/release/$(prog) ./$(prog)_aarch64
@echo -e "[+] You can find \033[1;32m$(prog)_aarch64\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_aarch64\033[0m in your current folder."

linux_aarch64: check_rustup install_cross build_linux_aarch64

build_linux_x86_64:
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release --features nogssapi --target x86_64-unknown-linux-gnu --no-default-features
cp target/x86_64-unknown-linux-gnu/release/$(prog) ./$(prog)_x86_64
@echo -e "[+] You can find \033[1;32m$(prog)_x86_64\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_x86_64\033[0m in your current folder."

linux_x86_64: check_rustup install_linux_deps build_linux_x86_64

Expand All @@ -115,7 +115,7 @@ build_macos:
@export PATH="/usr/local/bin/osxcross/target/bin:$PATH"
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release --target x86_64-apple-darwin --features nogssapi --no-default-features
cp target/x86_64-apple-darwin/release/$(prog).exe ./$(prog)_MacOS
@echo -e "[+] You can find \033[1;32m$(prog)_MacOS\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_MacOS\033[0m in your current folder."

macos: build_macos

Expand All @@ -125,12 +125,12 @@ install_cross:
arm_musl: check_rustup install_cross
cross build --target arm-unknown-linux-musleabi --release --features nogssapi --no-default-features
cp target/arm-unknown-linux-musleabi/release/$(prog) ./$(prog)_arm_musl
@echo -e "[+] You can find \033[1;32m$(prog)_arm_musl\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_arm_musl\033[0m in your current folder."

armv7: check_rustup install_cross
cross build --target armv7-unknown-linux-gnueabihf --release --features nogssapi --no-default-features
cp target/armv7-unknown-linux-gnueabihf/release/$(prog) ./$(prog)_armv7
@echo -e "[+] You can find \033[1;32m$(prog)_armv7\033[0m in yout current folder."
@echo -e "[+] You can find \033[1;32m$(prog)_armv7\033[0m in your current folder."

help:
@echo ""
Expand Down

0 comments on commit 33c8112

Please sign in to comment.