NAME = "globalenter" build b: @echo "building x86_64 Linux" RUSTFLAGS=-Awarnings cargo build --release --target x86_64-unknown-linux-gnu -q --frozen @echo "building x86_64 Windows" RUSTFLAGS=-Awarnings cargo build --release --target x86_64-pc-windows-gnu -q --frozen mkdir -p bin cp target/x86_64-unknown-linux-gnu/release/$(NAME) bin/$(NAME) chmod +x bin/$(NAME) cp target/x86_64-pc-windows-gnu/release/$(NAME).exe bin/$(NAME).exe chmod +x bin/$(NAME).exe @echo "done" clean c: cargo clean rm -rf bin