This repository has been archived on 2026-05-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
de-socket-espace-room-server/Makefile
KeshavAnandCode 223b6d1640
All checks were successful
build-service / compile-binaries (push) Successful in 2m40s
ci: implement gitea actions pipeline and makefile
2026-05-14 19:13:05 -05:00

22 lines
509 B
Makefile

BIN_NAME := escape_room_server
OUT_DIR := ./dist
.PHONY: all clean build-x86 build-arm64
all: build-x86 build-arm64
prep:
mkdir -p $(OUT_DIR)
build-x86: prep
cargo build --release --target x86_64-unknown-linux-gnu
cp target/x86_64-unknown-linux-gnu/release/$(BIN_NAME) $(OUT_DIR)/$(BIN_NAME)-x86_64
build-arm64: prep
cross build --release --target aarch64-unknown-linux-gnu
cp target/aarch64-unknown-linux-gnu/release/$(BIN_NAME) $(OUT_DIR)/$(BIN_NAME)-arm64
clean:
cargo clean
rm -rf $(OUT_DIR)